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 / amol

this() is used to call another constructor of current class based on the argument list....
super() is used to call the constructor of another class or parent class based on the argument list....

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can static methods be inherited?

1103


What is a final class ?

1273


What are computer functions?

997


What is the use of volatile in java?

1111


can java object be locked down for exclusive use by a given thread? : Java thread

1155


What is the purpose of stub and skeleton?

1078


What is java algorithm?

988


Why java is made?

1019


What do you mean by access modifier?

1109


Explain about anonymous inner classes in java?

1142


What about features of local inner class?

1119


Differentiate between array list and vector in java.

1157


Explain notify() method of object class ?

1162


why are there separate wait and sleep methods? : Java thread

1081


Why is java not 100% pure oops?

1239