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

how to call One constructor from another;

Answer Posted / talk2sreenivas@gmail.com

. In one constructor, the first statement can be a call on
another constructor in the same class (use keyword this
instead of the class-name) or a call on a constructor of the
superclass (use keyword super instead of the class-name). In
a constructor for a subclass, the first statement must be
either this(…); or super(…); —if not, the call super(); is
automatically inserted for you.

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Implement a stack with push (), pop() and min() in O(1) time.

1159


Explain the different forms of polymorphism?

1052


What is functional interface in java?

1091


Why do we use variables?

1039


What is wrapper class html?

988


How do you create a null object?

1133


What are the six ways to use this keyword?

1110


Explain what pure virtual function is?

1064


What types of index data structures can you have in java?

1311


why Java does not support multiple inheritances?

1202


How to declare an arraylist in java?

1187


What is the destroy method?

1102


How to access arraylist elements in java?

1031


Does isempty check for null?

1067


What is the driver class?

1088