• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can interface extends a super interface??

 
Hades Pan
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EXP: public interface List extends Collection
 
kinnu jemmy
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes.

in this eg. apple contain both the methods.
see JLS chapter 9 for more info.
kinnu
 
vishal avad
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi hades
an interface can only be extended by the interfaces and not by classes rest of the things r already explained in previous reply.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic