'this' keyword in java is ___

30. 'this' keyword in java is ___.

  1. Used to hold the reference of the current object
  2. Holds object value
  3. Used to create a new instance
  4. All of these

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.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.