Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

does interface gets converted to abstractclass at compile time or runtime  RSS feed

 
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
Boost this thread!