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 and Interfaces?

Answer Posted / hema

Abstract Class is the Class where it can have Methods with
both Definition and Declaration.

Method Declaration: public void Display();
Method Definition: public void Add(){ ..code goes on here...}

When all the methods in a class are only Declared then it is
Interface.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does split work in java?

1054


What are the java ide’s?

1028


What is a stack class in java ?

1107


What is t in generics in java?

1070


What is == and === in javascript?

1057


What is null statement?

1018


What does yield method of the thread class do?

1039


When should you use arraylist and when should you use linkedlist?

932


How many arguments can a method have java?

1027


What is comparable and comparator interface? List their differences

1110


Can we declare an array without size in java?

1010


What are the super most classes for all the streams?

2563


How do you check if two given string are anagrams?

967


Which method cannot be overridden in java?

996


What is a method in programming?

1188