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

What is wrapper class example?

0 Answers  


What will happen when using pass by reference in java?

0 Answers   HCL,


Why convert an applet to an application?

0 Answers  


How to change the priority of thread or how to set the priority of thread?

0 Answers  


what is platform dependent translation and platform dependent programming language

2 Answers  


Can an object be null?

0 Answers  


How does final modifier work?

1 Answers   Tech Mahindra,


Is math class static in java?

0 Answers  


Can a boolean be null java?

0 Answers  


What are the types of strings?

0 Answers  


What is lambda expression in java?

0 Answers  


Define reflection.

0 Answers  


Categories