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

What exactly is a .class file?

1042


Can we catch more than one exception in single catch block?

1041


Why a dead thread occurs?

970


How to sort array of 0 and 1 in java?

944


What is the java virtual machine?

1081


What is Java Annotations?

1096


What is thread safe singleton?

941


What is a list in java?

942


What are the types of casting?

1057


What is function overriding and overloading in java?

1110


What is the difference between hashmap and hashtable in java?

1111


What comes to mind when someone mentions a shallow copy in java?

1105


How do I get the | symbol on my keyboard?

1082


Why we cannot override static method?

1055


What is finalize()? Is finalize() similar to a destructor?

963