This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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


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: 14688
    
  16

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


[My Blog]
All roads lead to JavaRanch
 
GeeCON Prague 2014
 
subject: Exact Use of Abstract Class And Interface