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 / sunil kishore balla

super() is used to invoke a super class constructor and
this() is used to invoke a constructor of the same class

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is array length?

970


State the difference between strings and arrays.

1242


What are the java ide’s?

1027


When will we prefer to use set and list in java and why?

961


How do you create a method in java?

1001


What is a list in java?

946


What is stack explain?

995


what is an objects lock and which objects have locks? : Java thread

1019


What are the different approaches to implement a function to generate a random number?

1059


Explain differences between collection api and stream api?

1178


What is a class variable?

1036


Is integer immutable in java?

988


When a byte datatype is used?

2200


State the main difference between c++ and java?

1088


is there a separate stack for each thread in java? : Java thread

974