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 are this() and super() used with constructors?

Answer Posted / bhadresh

this() use to invoke only same class constructor.

super() use to invoke super class constructor.

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is constant in programming?

1180


Why java applets are more useful for intranets as compared to internet?

1129


Can a method inside a interface be declared as final?

1045


Why object class is super class for every class in java?

1082


Why 1 is not a prime number?

1076


What is covariant return type?

1156


What is tcp ip in java?

1158


What are the legal operands of the instanceof operator?

1079


Which non-unicode letter characters may be used as the first character of an identifier?

1053


What is the purpose of stub and skeleton?

1078


What is a pattern what is an anti pattern?

1033


Can we change the scope of the overridden method in the subclass?

1457


Difference between serialization and deserialization in java?

1207


Can we use string in switch case in java?

1131


Can we have 2 main methods in java class?

1067