Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exact Use of Abstract Class And Interface

 
Rajendra Prakash
Ranch Hand
Posts: 293
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That would be great if Google could easily find our FAQ.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic