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

Explain abstract class in java?

1127


Can we declare array without size in java?

1082


What is a parameter used for?

1007


What is the final keyword denotes?

1168


What do you meant by active and passive objects?

1141


Can we override a variable in java?

1067


What is difference between array and vector?

1139


What is array class in java?

1118


What is final keyword in java? Give an example.

1061


Which browsers work with java?

1116


Can you override private or static method in java?

1038


How many arguments can be passed to main ()?

1043


What is replaceall in java?

1079


Can finally block be used without a catch?

1058


Why we use protected in java?

1023