This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes In which situation i will use Abstract class and Inheritance. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "In which situation i will use Abstract class and Inheritance." Watch "In which situation i will use Abstract class and Inheritance." New topic
Author

In which situation i will use Abstract class and Inheritance.

Robin Rath
Greenhorn

Joined: Jan 07, 2008
Posts: 10
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

Joined: Jan 31, 2006
Posts: 129
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...
 
Consider Paul's rocket mass heater.
 
subject: In which situation i will use Abstract class and Inheritance.
 
Similar Threads
what is difference between interface and abstract class --- interview question
Abstract classes instead of Interfaces
Where to use abstract class and Interface?
Interface Vs Abstract class
abstract class Vs Interface real life scenerios