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

what is the difference between yielding and sleeping? : Java thread

966


In Java list the methods that can be overridden?

1012


What is jdbc api?

1009


What are heterogeneous objects?

1048


Is the empty set a singleton?

977


What is the use of static class?

1189


What is string in java?

1012


Why is a string immutable?

1010


Can we execute java program without main method?

1104


Is 9 a prime number?

885


How do you end a program?

1116


How would you convert bytes to string?

987


What are the data types supported by java? What is autoboxing and unboxing?

1022


What is the use of object and class classes?

1041


When super keyword is used?

1009