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 are the characteristics of Final,Finally and Finalize keywords.

1239


Explain parallel processing in java8?

1326


What is an error in java?

1205


Differentiate between a class and an object.

1072


Compare java and python.

1034


How is a variable stored in memory?

1067


What is the default execution method in java?

1268


How do you escape json?

1043


What are the different ways to handle exceptions?

1046


why Java does not support multiple inheritances?

1206


What defines function?

1031


What is a parameter used for?

1007


What is a char in java?

1096


What access modifiers can be used for variables?

1209


What is flush () in java?

1072