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

Answer Posted / e.bhavani

1) all abstract methods of the abstract class should be
implemented in its sub classes
all the (abstract) methods of the interface should be
implemted in its implementation classes
2) abstract class can contain instancevariables also
interace can not contation instance varibles. it contations
only constants.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a dynamic array java?

885


Can you instantiate the math class?

991


What is garbage collector?

1009


Why javac is not recognized?

893


Variable of the boolean type is automatically initialized as?

960


What are the classes of java?

918


What is the purpose of interface?

948


Write a program to reverse array in place?

1015


what is synchronization and why is it important? : Java thread

1020


What is an object class?

961


What is files manifesting?

2144


Why put method is used?

961


Is simpledateformat safe to use in the multithreaded program?

946


What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?

897


What is boolean flag in java?

1033