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 u write constructor in abstract.If yes den when it will
be invoked.

Answers were Sorted based on User's Feedback



Can u write constructor in abstract.If yes den when it will be invoked...

Answer / murli

yes..it will be invoked when the child class extending the abstract class is instantiated

Is This Answer Correct ?    16 Yes 1 No

Can u write constructor in abstract.If yes den when it will be invoked...

Answer / srinu

yes Abstract class contain constructor. if it will be
invoked the abstract class extending the class .Then that be
invoked.
Ex:
HttpServlet class is abstract class it contain
constructor.it will be invoked the other class extending
HttpServlet it will be invoked.

Is This Answer Correct ?    13 Yes 2 No

Can u write constructor in abstract.If yes den when it will be invoked...

Answer / ravi jain

Question is not properly defined!
U r asking abt

1. Contructor's modifier
2. constructor in abstract class

if(2nd)
{
than answer 1 & 2 are correct
}
else if (1st)
{
than answer 3rd is correct
}

Is This Answer Correct ?    2 Yes 1 No

Can u write constructor in abstract.If yes den when it will be invoked...

Answer / chaitali chari

You cannot have a abstract constructor. If you declare a
constructor as abstract then it would give any error while
compilation saying abstract modifier not allowed.

Is This Answer Correct ?    3 Yes 18 No

Post New Answer

More Core Java Interview Questions

whats the difference between == and .equal ?

10 Answers   Cisco,


what is aggregation in java?

0 Answers   IBS,


Can constructor be static or final?

0 Answers  


what is Thread priority?

4 Answers   Tech Mahindra, Wipro,


Can a final method be overloaded?

0 Answers  


What is double data type?

0 Answers  


What is the default value of float and double datatype in java?

0 Answers  


What is method overloading in JAVA? Why is it not present in C ?

0 Answers   Akamai Technologies,


Is main is a keyword?

0 Answers  


I want to print “hello” even before main is executed. How will you acheive that?

0 Answers  


What is xslt in java?

0 Answers  


How to implement a multithreaded applet?

0 Answers  


Categories