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

Can sleep() method causes another thread to sleep?

1042


Why do we need strings in java?

995


What happens if an exception is not handled in a program?

1106


What languages are pass by reference?

1054


What are the important features of Java 9 release?

1001


Can size_t be negative?

1181


What is the use of toarray () in java?

1071


What is internal iteration in java se 8?

1201


What happens when you add a double value to a string?

1003


Define the term string pool?

1010


Can you give few examples of final classes defined in java api?

1006


How can we create a synchronized collection from given collection?

1085


Explain the scope of a variable.

1099


What is the use of beaninfo?

1047


What is difference between synchronize and concurrent collection in java?

1076