This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Abstract classes vs Concreate classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Abstract classes vs Concreate classes" Watch "Abstract classes vs Concreate classes" New topic

Abstract classes vs Concreate classes

Perumal Kasi

Joined: Jul 10, 2004
Posts: 12
Hi Friends,

Why do we need abstract class?
We can do every thing in concrete class.
Can anyone explain with example?

Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3640
I recommend you to read following articles. Although, they are taking about difference between Interface and Abstract class, still they have good inpust about why abstract classes are required.

Interfaces and Abstract Classes - the pillars of software design
Effective use of Interfaces and Abstract Classes

My blood is tested +ve for Java.
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Not really an advanced question. Moving...

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Have you checked out Aspose?
subject: Abstract classes vs Concreate classes
jQuery in Action, 3rd edition