Multiple choice technology programming languages

Which of the following is not a reserved keywords?

  1. public

  2. static

  3. void

  4. main

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

In Java, 'public', 'static', and 'void' are reserved keywords that have special meaning in the language. 'main' is NOT a reserved keyword - it's simply the name of a method that is commonly used as the entry point for Java applications, but you could technically name a method 'main' in any class.