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

How can you read an integer value from the keyword when the application is runtime in java? example?

0 Answers   HCL,


what is the use of bean managed and container managed with example?

0 Answers   EDS,


What are class types in java?

0 Answers  


In what circumstances, compiler will supply a default constructor for a class?

4 Answers  


What are integer overflows and underflows and how to handle them?

3 Answers   Wipro,


Can java inner class be static?

0 Answers  


what is the difference between cd & dvd ?

30 Answers   Lovely Professional University, Satyam, Sibylsys,


What is the difference between JDK and JVM?

0 Answers  


can u handle an error if u write Thowable in the catch class lise try { some errorneous code }catch(Throwable e){ ...}

4 Answers  


What are the different data types in java?

0 Answers  


How can you handle java exceptions?

0 Answers  


What is a for loop in java?

0 Answers  


Categories