What does this() represent, and how is it used in Java?



What does this() represent, and how is it used in Java?..

Answer / nashiinformaticssolutions

• The current instance of a class is represented by this().
• Previously used to: o Call the same class's default constructor

Access the current class's methods
o Indicate the instance of the current class.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

How to add and remove nodes in Jtree?

1 Answers  


Hi, well i am unable to understand that why it is mandatory to have same hashcode, if two objects are same? Thanks in advance.

5 Answers  


How many digits is int32?

0 Answers  


Is arraylist a class in java?

0 Answers  


Can we catch more than one exception in single catch block?

0 Answers  






What is better- service oriented or batch oriented solutions?

0 Answers   Amdocs,


What access modifiers can be used for variables?

0 Answers  


Why null value is used in string?

0 Answers  


What is purpose of applet programming?

0 Answers  


Write a program to show whether a graph is a tree or not using adjacency matrix.

0 Answers   Amazon,


Why do I need to declare the type of a variable in java?

0 Answers  


If try block is successfully executed, Then Is Finally block executed?

0 Answers   PUCIT,


Categories