Hi All,
Today me and my friend had a discussion, he argued that
Java supports multiple inheritance by implementing many interfaces. I argued that by providing implementation for empty methods from interface, thats not going to be multiple inheritance, we are simply using method signatures from interface and its a contract between interface and class.
"My implementing an interface the class is promising that, it is going to provide implementation for all the methods in implemented interface."
Java does not support multiple inheritance by implementing many interfaces.
Pl. correct if I am wrong in my discussion with my friend.
Thanks & Regards,
Ganesh.