Why do I get "starting with version 9", "_" is a keyword and may not be used as the identifier "error when using the same underscore variable name?

Why do I get "since version 9", "_" is a keyword and cannot be used as an identifier error when using the same underscore variable name?

This happens when compiling Java code with javac version 8.

+4
source share

All Articles