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

Can we use static class instead of singleton?

1003


what do you mean by classloader in java?

979


What is fail fast in java?

1075


What happens if an exception is not handled in a program?

1054


Does java initialize arrays to zero?

969


Can we use this () and super () in a method?

935


Is null a value?

980


What is the private method modifier?

1039


Difference between default and protected access specifiers?

1039


What are the features of junit?

1001


Why does java doesnt suuport unsigned values?

2184


Name few java util classes introduced with java 8 ?

882


java program with complete 4 oops concepts implemented example

3097


How does varargs work in java?

1047


How do you download stubs from Remote place?

1727