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

Is void a keyword in java?

966


Is treeset sorted in java?

936


What is the biggest integer?

1001


Is array primitive data type in java?

944


What are the differences between heap and stack memory in java?

1000


What is string syntax?

1011


What is difference between identifier and variable?

998


What does the “static” keyword mean?

1048


What is the difference between static and global variables and also define what are volatile variables?

988


Why to use nested classes in java? (Or) what is the purpose of nested class in java?

1021


What is passed by reference and pass by value ?

986


What is the difference between a vector & an array list?

1109


What do you mean by JVM?

1011


What is complexity and its types?

960


Difference between current previous versions of Java?

977