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 you call a constructor within a constructor?

Answer Posted / nikhlesh gupta datia(m.p.)

We can call one of base class constructor inside derive class constructor by using predefine variable "super()" such as super(a), super(a,b) and so on.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can static methods be inherited?

995


Is array synchronized in java?

1003


What is the abstract class?

979


Difference between this() and super() ?

1029


Can we override private methods?

984


what is deadlock? : Java thread

954


why not override thread to make a runnable? : Java thread

961


How do you define a set in java?

956


What are the differences between abstract class and interface?

1002


What are static variables and functions?

1077


Can list be final in java?

877


How many types of java are there?

937


What are the difference between composition and inheritance in java?

974


Why is stringbuffer thread safe?

1013


Is void a data type in java?

934