Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the difference between abstract class and
Interface?where we can use it in realtime projects?

Answer Posted / kala

1) if the class is abstract. this class con't instatiate any
object. if we that class implemented with interface, we can
instatiate object with respect interface methods.

2) if we extend that particular abstract class, we must be
implemented all those abstract methods in that class.
otherwise it will automatically become abstract class. in
interface, if we implements the interface not compalsory
implemented, we can use those class ref.

Is This Answer Correct ?    47 Yes 36 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of singleton?

957


How can you traverse a linked list in java?

1124


What is 32 bit float?

981


What are the java ide’s?

1023


What is string literal in java?

1045


What is finalize()?

1183


What is the default value of local and global variables?

1092


Hi Anyone know the model / questions of the Federal bank sample questions for the post of Specialist Officers - Programmers. Please post if anyone have..

2299


What do you mean by a JVM?

1240


What are the steps in the jdbc connection?

1014


What is difference between Heap and Stack Memory?

1046


Can we rethrow the same exception from catch handler?

1113


What is hashmap and map?

1014


How a string is stored in memory?

1009


What is an immutable object? How do you create one in java?

1065