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 / nikhlesh gupta

this() call one of user define constructor inside another user constructor of the same class such as this(a), this(a,b) & so on.
super() call one of base class constructor inside the derive class constructor such as super(a), super(a,b) & so on.

Is This Answer Correct ?    26 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What differences exist between iterator and listiterator?

1047


What is the gregoriancalendar class in java programming?

1044


How to overcome the exception object reference not set to an instance of object?

1153


What is the difference between an array and an array list?

1025


What is the purpose of the finalize() method?

1247


Why is serialization required?

960


How can we make copy of a java object?

1154


What is the difference between state-based unit testing and interaction-based unit testing?

942


What is the function of static in java?

1080


Does constructor return any value?

1029


How to split arraylist elements in java?

1177


How many types of voids are there?

992


What is a instance variable?

1063


How are variables stored in memory?

1074


What are 3 boolean operators?

1007