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

In Java, what are this() and super(), and where are you required to use them?

Answer Posted / nashiinformaticssolutions

Super() and this() are special keywords in Java that are used to invoke the constructor. This() and super() must appear as the block's initial line.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the meaning of 3 dots in java?

1113


How many classes can any class inherit java?

928


What are variable names?

912


What is the finalize method do?

1049


What is java lang object?

927


What is the abstraction?

972


What is slash r?

951


Write a program to find maximum and minimum number in array?

941


What is pojo class in java?

1001


What is the base class for error and exception?

950


What does a method signature consist of?

925


What is constant in programming?

1030


What is an infinite loop in java? Explain with an example.

978


Can you instantiate the math class in Java?

1026


What are internal variables?

941