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

Super should be used only in the sub classes and super() is
used to point methods of super class. where as this can be
used in both super & sub classes and this() used to point
methods in the class where it is called.

Is This Answer Correct ?    28 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is local class in java?

1148


How do you detect memory leaks?

1116


why using interface interface ?

2112


Differentiate between a constructor and a method? Can we mark constructors final?

1246


What is a arraylist in java?

1132


Can we override constructors in java?

1214


Difference between error and exception

6173


What is the purpose of java?

1055


What is independent and dependent variables in research?

921


What is the default execution method in java?

1272


What are measurable parameters?

1137


How does linkedlist work in java?

991


What is the difference between a method and a function in alice?

1284


What types of index data structures can you have in java?

1322


When the constructor of a class is invoked?

1093