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 Interface & Abstract class?

Answer Posted / janet

1.All the methods declared inside an interface are abstract
where as abstract class must have atleast one abstract
method and others may be concrete or abstract.

2.In abstract class ,keyword abstract must be used for the
methods where as interface we need not use that keyword for
the methods.

3. Abstract class must have subclass where as interface
can't have subclasses.

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a byte array?

1149


What is the basic of java?

1066


How do I compare two strings in word in java?

1040


What variables are stored in stack?

1021


What does nextint () do in java?

1055


In a class implementing an interface, can we change the value of any variable defined in the interface?

1144


What is the use of a conditional inclusion statement in Java ?

1138


What is the type of lambda expression?

1087


Is object a data type in java?

1158


What is the function of static in java?

1148


What are the steps in the jdbc connection?

1083


Define interface in java?

1130


How do you define a method?

1040


How many times finalize method will be invoked? Who invokes finalize() method in java?

1071


What is java thread dump, how can we get java thread dump of a program?

1072