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...

why abstract class will have a constructor?

Answer Posted / nitin panwar

Bcoz each subclass executes the superclass constructor
before executing own constructor,thats why abstract class
has a constructor .

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can size_t be negative?

1065


Are functions objects in java?

1028


What is the difference between a scrollbar and a scrollpane?

990


When can you say a graph to be a tree?

1023


What are the differences between the constructors and methods?

1038


Why collection doesn’t extend cloneable and serializable interfaces?

1046


What about main() method in java ?

970


Can we use both this () and super () in a constructor?

962


Why do we create public static method in java?

1042


Can we have any code between try and finally blocks?

964


How do you compare objects in java?

881


Is map ordered in java?

880


What is a static class in java?

959


Is 0 a prime number?

925


What is the type of lambda expression?

946