Hi Venkat, I was roaming around a question on this topic, why can we not use the fully qualified name of a method if two methods of derived classes have same name as we did while implementing multiple Interfaces on a class that have the same method names but we solve it using the fully qualified name such a.methodName() and b.methodName() to differentiate. would it not have supported for multiple classes inheritance?
Hi Venkat,
ReplyDeleteI was roaming around a question on this topic, why can we not use the fully qualified name of a method if two methods of derived classes have same name as we did while implementing multiple Interfaces on a class that have the same method names but we solve it using the fully qualified name such a.methodName() and b.methodName() to differentiate. would it not have supported for multiple classes inheritance?