Multiple choice technology programming languages

What is "delete" in java?

  1. a Keyword

  2. a method

  3. a special identifier

  4. none

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

'delete' is not a keyword in Java, unlike in C++ where it is used for memory deallocation. Java does not expose manual memory management through keywords - it uses automatic garbage collection instead. 'delete' has no special meaning in Java syntax or standard libraries.