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 Exact Use of Abstract Class And Interface 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 "Exact Use of Abstract Class And Interface" Watch "Exact Use of Abstract Class And Interface" New topic
Author

Exact Use of Abstract Class And Interface

Rajendra Prakash
Ranch Hand

Joined: Sep 10, 2009
Posts: 293
I googled what is Abstract class and interface.
I get Abstract class cannot be instantiated , which contains abstract and concreate methods.
If you want to implement some common or default behaviours we can use abstract class.
I get difference between abstract class and interface

What is the exact use of Abstract class and interface. when to use which.
I am new to java. though i read so many books i can't understand clearly.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

That would be great if Google could easily find our FAQ.


[My Blog]
All roads lead to JavaRanch
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Exact Use of Abstract Class And Interface
 
Similar Threads
Regaring abstact class and interface
MasterExam OO question
Abstract Class & Interface
abstract class and interface
Difference between Interface and Abstract class