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.

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the function of http?

1032


What do you understand by access specifiers in Java?

1015


What are the advantages of functions?

921


Is 0 a prime number?

992


How do you use substring in java?

1143


Where are register variables stored?

1018


Why java is used everywhere?

1013


How can we make a class singleton?

1078


What is string [] args?

1009


What is the inheritance?

975


How do generics work?

950


Explain about interthread communication and how it takes place in java?

1025


Why are getters and setters used?

1062


Why does java does not support multiple inheritance? Explain

978


What are alternatives to java serialization?

1127