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...

can u give one sinario when you use Abstract Class and When
you use Interface.

Answer Posted / srinivasa

If there are multiple objects which use common methods and
different implementaion of methods We use Abstract class.

If multiple objects use different implementation of methods
for every object we use interface.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is your platform’s default character encoding?

1082


Is set sorted in java?

932


how does multithreading take place on a computer with a single cpu? : Java thread

1146


What is the exact difference in between unicast and multicast object? Where we will use?

999


What is the difference between error and an exception?

1153


Does sprintf add a null terminator?

1098


What is singleton class and how can we make a class singleton?

1100


How do you create an array in java?

991


What is java autoboxing?

944


What about interrupt() method of thread class ?

1069


whatis Home interface and Remoteinterface? with example?

2002


what is the messsage u r going to get from an objectoriented programing?

2102


What is difference between filereader and bufferedreader?

956


What is the purpose of using break in each case of switch statement?

1027


When should the method invokelater() be used?

1019