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 use of conditional statement?

976


What is an example of procedure?

1030


Why are the destructors for base class and derived class called in reverse order when the program exits

2195


Explain the concept of proper inheritance?

1065


What are the concepts of 'OOPS'?

1066


Does hashset allow duplicates in java?

1113


What is bufferedwriter?

971


What are thread priorities and importance of thread priorities in java?

1131


What is a static class in java?

1003


What is a databasemetadata?

946


how are methods defined?

1046


Explain the importance of thread scheduler in java?

1004


What is return in java?

965


Define a java class.

1431


What is string length in java?

943