Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

interface can extend any number of interfaces.

 
yamini nadella
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An interface can extend any number of interfaces.
if above statement is correct then what is the meaning of this?
interfaces has to be implemented but not extended?
yamini
 
Deb Sadhukhan
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
read 2nd statement like this...
interfaces has to be implemented by classes but not extended?
[ April 13, 2004: Message edited by: Deb Sadhukhan ]
 
Ana Abrantes
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
a class can extend only one class
a class can implement one or more interfaces
an interface can extend another interface
[ April 13, 2004: Message edited by: Ana Abrantes ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic