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 the difference between heap and stack memory?

1190


Where can I find jdk in my computer?

966


What are the differences between forwarding () method and sendredirect() methods?

1104


What is object of class in java?

1123


Is integer passed by reference in java?

1007


What is a char in java?

1035


What are namespaces in java?

1029


What are adapter classes?

1043


Write a function to find out longest palindrome in a given string?

1049


why are wait(), notify() and notifyall() methods defined in the object class? : Java thread

984


What is a jit compiler?

1128


Can we declare main () method as non static?

974


how to open and edit XML file in Weblogic???

1967


Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?

1007


Hi Anyone know the model / questions of the Federal bank sample questions for the post of Specialist Officers - Programmers. Please post if anyone have..

2299