Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

In which situation i will use Abstract class and Inheritance.

 
Robin Rath
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I know the definition of Abstract class and Inheritance, also the differences. But I need a clear view on these two concepts.That is
In which situation we will use Abstract class and Inheritance.
 
Mark Newton
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When do *you* think we will use abstract class and inheritance? Also, are you sure you mean 'inheritance', not 'interfaces'?

Abstract classes are related to inheritance, but they aren't really something you would normally compare in terms of the differences...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic