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

What is the difference between this() and super()?

Answer Posted / srinu

this() can be used to invoke a constructor of the same class.
whereas super() can be used to invoke a super class constructor.

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does string mean in java?

1150


What are the ways to instantiate the class class?

1148


Why use string handling in Java?

1074


Why do I need to declare the type of a variable in java?

1152


What is the parse method in java?

1170


Why we cannot override static method?

1118


Is there any case when finally will not be executed?

1002


What is parsing a string?

1236


What is a newline character in java?

1085


Which is bigger float or double?

1026


How hashset works internally in java?

1139


How we create object in copy constructor?

1167


What is the default execution method in java?

1266


What is mean by encoding?

1124


What is default constructors?

1071