When one gives both of them, one of them are overridden implicitly. We should throw an error when both is given.
When one gives both of them, one of them are overridden implicitly. We should throw an error when both is given.