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...

How are this() and super() used with constructors?

Answer Posted / ravikiran(aptech mumbai)

this() is used to call constructors wih in same class where
as super() is used to call the constructors of it's super class

Is This Answer Correct ?    16 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the advantage of functional interface in java 8?

943


What is the benefit of using enum to declare a constant?

1039


What is the default value of float and double datatype in java?

955


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

910


What is floating data type?

917


State one difference between a template class and class template.

1022


Difference between notify() method and notifyall() method in java?

914


Which collection is sorted in java?

981


Explain about sets?

945


What is anti pattern in java?

902


Variables used in a switch statement can be used with which datatypes?

934


Difference between character constant and string constant in java ?

960


Is null an object java?

929


how to convert Java project into Maven ?

1001


What is a final class ?

1080