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 is java console application?

942


Can singleton class be inherited in java?

937


Why isn’t there operator overloading?

1011


What is static keyword in java?

949


What is use of functional interface in java 8? Explain

943


What is locale?

980


What do you mean by static variable?

1014


How many bytes is a char in java?

969


What is the syntax and characteristics of a lambda expression?

977


What is "this" keyword in java? Explain

1048


Why java is considered dynamic?

1108


If a method is declared as protected, where may the method be accessed in java programming?

939


I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?

952


What is :: operator in java?

911


How thread scheduler schedule the task?

1003