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

Is hashset ordered java?

1155


What is java and their uses?

1087


What are unchecked exceptions in java?

1085


How is hashcode calculated in java?

1087


how we can make a write-only class in java?

1080


What is the purpose of the system class in java?

1097


Which is bigger double or float?

1031


How is it possible for two string objects with identical values not to be equal under the == operator?

1033


In java, how we can disallow serialization of variables?

1040


What are the main uses of this keyword?

1120


Write a code to create a trigger to call a stored procedure

1029


Are static members inherited to sub classes?

1186


What 5 doubled?

1043


Define nashorn in java8.

1091


What is valid keyword in java?

1046