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

Can we override constructor in java?

1099


how to create daemon thread in java?

1080


Why is the singleton pattern considered to be an anti pattern?

888


Explain tree set and its features?

1059


how many types of Inheritance?

1176


What is the difference between an argument and a parameter?

991


How do you get length in java?

1036


what is the significance of listiterator in java?

1080


What are the legal parameters?

1011


What is bifunction in java?

1207


Explain method local inner classes ?

1042


What do you mean by aggregation?

1323


What does string intern() method do?

1089


What is the meaning of variable in research?

1018


Is arraylist an object in java?

1169