you can extends interface from interface no restriction and as many as you can. real example from jdk is Externizable extends Serializable which i know. Ahmad
Hi Sagar No not at all, an interface or a class can never extend more than one interfaces or classes. As its gonna completely break the Single Inheritance rule of Java. what do you think..please post if you need more clarification. cheers Nasir
http://www.javaprepare.com/quests/test.html At the above URL in Q No. 43, one of the answers is (c) which means that extending from multiple interfaces is possible. Pls have a look and comment on the same.
Look at JLS: 9.1.2 Superinterfaces and Subinterfaces
Originally posted by Sagar Sharma: http://www.javaprepare.com/quests/test.html At the above URL in Q No. 43, one of the answers is (c) which means that extending from multiple interfaces is possible. Pls have a look and comment on the same.