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

hr interview how many minutes asking question

2092


How do you remove an object from an arraylist in java?

1040


what are synchronized methods and synchronized statements? : Java thread

1051


Why is a string immutable?

1068


What do you mean by hashing?

1168


What is the benefit of inner classes in java?

1142


How dead lock situation occurs in java and how you can identify it?

1045


Which class should you use to obtain design information about an object in java programming?

1133


How to restrict a member of a class from inheriting by its sub classes?

1391


What is the purpose class.forname method?

1011


Is it compulsory for a try block to be followed by a catch block in java for exception handling?

1056


What is the effect of keeping a constructor private?

1000


Can a constructor call the constructor of parent class?

1086


How to run a JAR file through command prompt?

1341


Is boolean a wrapper class in java?

1107