File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
 
Don't get me started about those stupid light bulbs.
 
subject: Exact Use of Abstract Class And Interface