Multiple choice technology programming languages

Which is not a part of java

  1. final

  2. finally

  3. finalize

  4. finalised

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

In Java, 'final' is a keyword for variables/methods/classes that cannot be changed/extended. 'finally' is a keyword used in try-catch blocks for code that always executes. 'finalize()' is a method name (deprecated) for garbage collection cleanup. However, 'finalised' is NOT part of the Java language - it's a common misspelling. The correct answer is D because it's the only option that is not a valid Java keyword or method.