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...

Difference between Abstract Class & Interface?

Answer Posted / brijendra kumar(xavient)

Abstract Class:

1-Abstact class declare with the abstract keyword.
2-Abstract class contains the both method declaration and
defeination.
3-Abstract class donot have the instant variable.It have
only constrants.
3-Abstract class extended by its sub class.
4-Abstract class support only single inheritence.

Interface:

1-Interface declare with the interface keyword.
2-Interface contains the only collection of method
signature.
3-Interface implement by a class.
4-Interface extended by one or more interfcae.
5-Interface support the multiple inheritence.
6-Interface is useful for java development.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the inheritance principle.

913


What happens when the parent process of a child process exits before the child ?

932


Explain working of java virtual machine (jvm)?

1002


What is spliterator in java se 8?

1091


What are the advantages of java 8’s date and time api over old date api and joda time api?

1048


What is exe file in java?

967


What are the Advantages of java se 8 new features?

955


Is lambda expression an object?

889


Why sun introduce concept of anonymous class? What is need and real life use of anonymous class

2196


What does jpa mean?

889


What is phantom memory?

934


What is a bean class?

868


What is meant by annotation in java?

973


What is flatmap in java8?

960


Which type of stream is in java?

863