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

When would you use a static class?

1027


What is a locale?

1215


What are facelets templates?

1081


what is the difference between yielding and sleeping? : Java thread

1006


What is the replace tool?

1250


What are the important features of Java 8 release?

1136


Can we override private method in java?

1137


Can a hashset contain duplicates java?

1020


Why char array is preferred over string for storing password?

1151


What is JDBC Driver interface?How can you retrieve data from the ResultSet

2151


What is difference between word and integer?

1133


What are the advantages and disadvantages of object cloning?

1161


what do you understand by synchronization? : Java thread

1054


What are the advantages and disadvantages of reference counting in garbage collection?

1069


What is the benefit of singleton pattern?

1044