+ 3
What's the difference between extending another class and implementing another class?
2 Réponses
+ 10
think... You want to build a house..So first you will make the design...then u will have to implement...Now after 1 year u want to have one more room..then u will extend...
so implement means something from nothing
extend means something more from something...
we implement interface..because in interface methods are always abstract..
0
The basic difference is that when you inherit a class it is done by extending a class AND in java multiple inheritance is not allowed if you want to use multiple inheritance then one uses IMPLIMENTS a class instead of extending a class