Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

abstract class and interface

 
jignesh soni
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
abstract class and interface has undefined methods in them. so why do we need interface when abstract class is there and it serves the purpose ?
 
Norm Radder
Ranch Hand
Posts: 893
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One part is that a class can implement more than one interface but only extend one abstract class.
 
Ravikanth kolli
Ranch Hand
Posts: 179
Chrome Eclipse IDE Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check this.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic