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 the difference between Abstract Class and Interface

Answer Posted / ravi

1.A programmer creates abstract class when there are some
common features shared by all the objects.
A programmer writes an interface when all the features
should be implemented differently for different objects.

2.When an abstract class is written the programmer should
provide sub classes to it.
A programmer writes an interface when he wants to leave
implemntation classes to third party vendors.

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 the difference between compare and compareto in java?

1102


Explain java coding standards for constants?

1064


What is the length of a string?

1081


What is meant by flickering?

1130


What is data member in java?

1144


What is collection class in java? List down its methods and interfaces.

1023


How many types of array are there?

1050


What is the largest data type in java?

1016


What is the use of isempty in java?

1075


Can static methods be inherited?

1101


What is the use of conditional statement?

1032


Does string is thread-safe in java?

1139


What is lazy initialization in java?

1053


can used Protected Class outside Function.?

1151


What are the 8 primitive data types in java?

1081