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 purpose of find feature?

1147


What is string in java with example?

1108


What are the two ways to create a thread?

1059


Can final class have constructor?

969


What is the function of compareto in java?

1113


How do you format in java?

1040


Why java applets are more useful for intranets as compared to internet?

1125


What is thread safe java?

972


Is integer passed by reference in java?

1062


Can we clone singleton class in java?

1010


What are the four pillars of java?

1262


What is a instance variable in java?

1085


How do you write a conditional statement?

1008


Can you inherit from an abstract class java?

1044


What do you mean by data type?

1062