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 you have a constructor in abstract class?

Answer Posted / sadiq

Yes. Abstract class can have constructor.
But abstract class cannot be instantiated,how we can call
constructor? Using super()(calls super class constructor) in
the subclass which extends abstract class.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is t in parametric equations?

1041


What is Mutex (Mutual Exclusion Object) ?

1217


Can you call one constructor from another if a class has multiple constructors?

1101


Can we have try without catch block?

1146


Is empty .java file name a valid source file name?

1184


explain different ways of using thread? : Java thread

1061


What is numeric function?

1072


What does java ide mean?

1215


Explain about anonymous inner classes ?

1129


What is meant by data hiding/encapsulation?

1159


What is unicode with example?

1313


Explain tree set and its features?

1116


Are constructors methods?

1076


Explain where variables are created in memory?

1057


Differentiate between == and equals().

1098