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 / ravikiran(aptech mumbai)

this() is used to call constructors wih in same class where
as super() is used to call the constructors of it's super class

Is This Answer Correct ?    16 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is java called java?

977


Does the order of public and static declaration matter in main method?

1028


Does java allow overriding static methods ?

1054


Is constructor inherited?

912


What is callable java?

916


What is the advantage of preparedstatement over statement?

1043


How do you remove spaces in java?

969


What is constant in programming?

1028


What is array and arraylist in java?

1040


Can java run on google chrome?

1134


Explain method overloading?

959


Explain the use of sublass in a java program?

972


Can we create an object of private class?

911


What is data member in java?

949


Differences between C and Java?

1110