OOPS
November 12, 2023OOPS
November 12, 2023OOPS
|
Question 8
|
“this” keyword in JAVA is used to
|
Refer to current class object
|
|
|
Refer to static method of the class
|
|
|
Refer to parent class object
|
|
|
Refer to static variable of the class
|
Question 8 Explanation:
“this” is a reference variable that refers to the current object of the class.
Correct Answer: A
Question 8 Explanation:
“this” is a reference variable that refers to the current object of the class.
