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 difference between Interface and abstract class

Answer Posted / naveen

Interface is a specification it tells a class has what to do.
It is purely abstract class it contains abstract methods and final static variables.
Generally begining of the project PM or TL are providing the Interfaces, developers are implementing the Interfaces.

Abstract class

Abstract class is a mediator between Interface and Class , any common code is their that code written in Abstract class and then extend the Abstract class. Abstract class containing abstract and concreate methods.
Abstract class are used in Designing level.If take java predifined class we understand easily.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is singleton in java?

1029


What is class level lock ?

1004


I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?

966


What is java literals?

1113


What is instance means in java?

1028


What are constants?

1040


What is a byte string?

1082


What is api in java?

963


What is hashing principle in java?

1010


What flag up means?

1018


What is void class in java?

953


How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters?

1082


What is the abstract class?

1012


Where is the find and replace?

991


Why can we not override static method?

1096