Multiple choice technology programming languages

this keyword can't be assigned null value

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The 'this' keyword in Java is a reference variable that refers to the current object. It is automatically assigned by the JVM and cannot be explicitly set to null by the programmer - attempting 'this = null' is a compilation error. The statement is correct.