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 native method in java?

1069


Why Do I Get A "permission Denied" Error After Downloading The .jnlp Java Launcher For The Vkvm?

1149


What happens if a constructor is declared private?

1036


What is the benefit of abstract class?

950


what do you mean by java annotations?

1142


Why spring singleton is not thread safe?

1007


What happens if we don’t define serial version uid?

1028


Is 9 a prime number?

888


Why Java is not pure Object Oriented language?

1115


What is map and hashmap in java?

1070


What is static keyword?

1159


why Java does not support multiple inheritances?

1167


Java is pass by value or pass by reference? Explain

997


How many bytes is a char in java?

1026


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

1032