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

when to for abstract class and when to go for interface

Answer Posted / chandra d

If your class design has multiple implementations then we
can go for Interface.
if your class design is having some specific features and
some other features may change .. then we can go for
Abstract class

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How are this() and super() used with constructors in java programming?

1014


What is a concrete classes? Is Java object class is concrete class?

937


What is method overloading with type promotion?

1209


What is the difference between preemptive scheduling and time slicing?

997


What is use of functional interface in java 8? Explain

943


What is the difference between delete and delete[]

1402


Can we overload run() method in java?

1114


Can size_t be negative?

1065


Write a program to solve producer consumer problem in java?

948


What is meant by class loader? How many types are there?

1174


What is args length in java?

1117


What is callablestatement? How you can call stored procedure to pass in parameter?

978


Define immutable object?

1001


List primitive java types?

977


can used Protected Class outside Function.?

1050