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 / prabu.b

1)Super() always calling the constructor of immediate
super class, super() must always be the first statements
executed inside a subclass constructor.

2)You cannot use this() and Super() in the same constructor.

Is This Answer Correct ?    23 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If two threads have same priority which thread will be executed first ?

1462


How is java hashmap implemented?

1003


What are the 8 data types in java?

974


What is dynamic array in java?

1006


State two differences between C and Java.

1307


What is contract between hashcode and equal method?

1017


What does the @override annotation do?

1021


How do you identify if jvm is 32-bit or 64-bit from java program?

949


What do you understand by copy constructor in java?

918


Difference between class#getinstance() and new operator ?

1191


What are the features of java?

1053


How does system arraycopy work in java?

1088


Explain the available thread states in a high-level?

945


What is ternary operator?

990


What is ordered map in java?

980