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

Difference between this(), super()?

Answer Posted / selvan

this & super is a keyword.
"this" is used to invoke a constructor of a same class,
its pointing the same class object.

"super" is used to invoke a superclass constructor and
accessing the superclass constructor.

Is This Answer Correct ?    25 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by access modifier?

1026


How do we access static members in java?

1108


What is the difference between break and continue statements?

1037


Can a class be declared as protected?

1011


What is the console in java?

1150


Explain the difference between call by refrence and call by value?

1018


What does system.gc() and runtime.gc() methods do?

1047


How do you calculate roots in java?

1085


Is array a class in java?

971


What is protected in java?

993


How will you initialize an Applet?

1145


Is java 11 paid version?

985


Can inner class extend any class?

1054


What is the difference between notify and notifyall method?

1212


What is difference between fail-fast and fail-safe?

1233