This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes class   Vs   abstract base class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Beginning Java
Bookmark "class   Vs   abstract base class" Watch "class   Vs   abstract base class" New topic

class Vs abstract base class

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1396
What is the difference between dervied class extends from the normal base class and the dervied class extends from the abstract base class ?
marc weber

Joined: Aug 31, 2004
Posts: 11343

If a class extends an abstract class, then it must implement any methods in the abstract base (or be declared abstract itself).

"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
I agree. Here's the link:
subject: class Vs abstract base class
It's not a secret anymore!