In OOP, what is the purpose of the "this" keyword?
PYQ Bihar STET 2024
In OOP, what is the purpose of the "this" keyword?
- A.
To create a new instance of a class
- B.
To refer to the superclass
- C.
To call a static method
- D.
To refer to the current instance of a class
Attempted by 837 students.
Sign up free to check your answer
Sign up freeExplore the full course: Bihar Stet Computer Science Complete Course
Loading lesson…

