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 / glibwaresoftsolutions

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

Is hashset ordered?

983


What are features of java?

980


Is a case study a method or methodology?

850


Which are the two subclasses under exception class?

1004


What is difference between fileinputstream and filereader in java?

1000


Are private methods final?

846


How do you clear an arraylist in java?

937


why java uses class level type casting ?

2611


What is the destroy method?

997


What is the difference between a synchronized method and a synchronized block?

1018


What is the use of java?

897


What happens if we don’t define serial version uid?

979


How can u increase the heap size in the memory?

953


Difference between arraylist and hashset in java?

1076


What is the purpose of garbage collection in java? When is it used?

999