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

What is public/private protected in java?

1087


Why is whitespace important?

1144


Is jdk required on each machine to run a java program?

1366


what is the purpose of the runtime class?

1107


What is super?

1252


Explain java coding standards for variables ?

1225


Define class?

1128


How variables are declared?

1033


Name few java 8 annotations ?

1087


What is variable and constant explain with example?

1167


What is the effect of keeping a constructor private?

1003


What is the difference between stringbuffer and stringbuilder class?

1162


Can static methods access instance variables in java?

1145


Why we do exception handling in java and how many types of exceptions are there?

1181


What is internal iteration in java se 8?

1262