Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

does interface gets converted to abstractclass at compile time or runtime

 
NareshAnkuskani Kumar
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is it true that an interface extends an object class?
 
Lakshmanan Arunachalam
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An interface can extend only other interfaces, not any other classes. Hence interface is not an java.lang.Object.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic