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 abstract class have constructor how can you achive
this ?

Answer Posted / bhargava

You cannot crate the constructor for an abstract class
directly. But you can create constructor for subclass for
an abstract class by making new class sub class for the
abstract class.

Is This Answer Correct ?    1 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define how does a try statement determine which catch clause should be used to handle an exception?

1165


Can a class be defined inside an interface?

1033


Explain when we should make an instance variable private.

1125


What is lazy initialization in java?

1013


What is the difference between pass by reference and pass by pointer?

1105


What is use of arraylist in java?

1179


Explain the importance of finally block in java?

967


what is object-oriented programming in java?

1053


What are the 2 types of java programs?

1115


What is the += operator called?

1063


What methods are used in Servlet?Applet communication?

2248


What is the difference between the prefix and postfix forms of the ++ operator?

1021


What is classpath?

1014


what is singleton in java?

1052


What is the purpose of javac exe?

1098