Vidyalelo
Java Programming · Q8

Constructors and Methods

Programming · Java Programming · question 8

Q8

What is the purpose of the "this" keyword in Java constructors and methods?

A.
To refer to the current instance of the class
Answer
B.
To call another method
C.
To declare a local variable
D.
To indicate a static method

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board