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 is the main purpose of serialization in java?

1089


what is method reference in java 8?

1088


You're given a Boolean 2D matrix, can you find the number of islands?

1150


Explain the available thread states in a high-level?

1009


How is Object Oriented Programming different from Procedure Oriented Programming?

1088


What is difference overloading and overriding?

1242


Is an array a vector?

1118


Under what conditions is an object’s finalize() method invoked by the garbage collector?

1099


Is class is a data type?

1132


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

1283


Give an example of use of pointers in java class.

1071


Explain the difference between static and dynamic binding in java?

1113


Explain what is encapsulation?

1137


What is immutable data?

1110


Is constructor inherited?

1010