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 the exact difference in between Unicast and Multicast object ?

4 Answers   Accenture,


Difference between Web-based applications,Client- Server applications and Distributed applications?

3 Answers   Infosys,


Explain the scope or life time of class variables or static variables?

0 Answers  


What is a deadlock ?

5 Answers  


Can subclass overriding method declare an exception if parent class method doesn't throw an exception?

0 Answers  


Why to use nested classes in java?

0 Answers  


What are access modifiers?

1 Answers   Infosys,


What do u mean by wrapper Class? What do u mean by Jvm... How do u change JVM for other OS? Or No need to Change ...? its like tricky

6 Answers   Accenture, EDS,


What is difference between iterator access and index access?

0 Answers  


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

0 Answers  


what is unreachable code problem in multiple catch statements

3 Answers  


Define max and min heap, also the search time of heap.

0 Answers   GrapeCity,


Categories