Q. 'this' keyword in java is ___.

  • (A) Used to hold the reference of the current object
  • (B) Holds object value
  • (C) Used to create a new instance
  • (D) All of these
πŸ’¬ Discuss
βœ… Correct Answer: (A) Used to hold the reference of the current object
Explanation: Java this keyword is used to hold the reference of the current object.
Explanation by: Team MCQ Buddy
Java this keyword is used to hold the reference of the current object.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
579
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
99%
Success Rate