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

How do you read a char in java?

955


What is json parser in java?

1016


What is replacefirst in java?

1037


What is the difference between a vector & an array list?

1116


What all methods are used to prevent thread execution ?

971


What is difference between wait and notify in java?

1066


Will the compiler creates a default constructor if I have a parameterized constructor in the class?

1051


What is a finally block? Is there a case when finally will not execute?

1004


Can we declare an array without size in java?

928


What invokes a thread's run() method in java programming?

1130


Why is the type for real numbers called double?

917


What is the difference between equals() and?

1128


Which are the two subclasses under exception class?

1011


Why array is used in java?

922


What is javac in java?

957