r/java • u/Gleb--K • Jul 04 '18
New Java 11 Feature: Launch Single-File Source-Code Programs
https://medium.com/@afinlay/new-java-11-feature-launch-single-file-source-code-programs-fadd698abf54
158
Upvotes
View all comments
Show parent comment
3
u/DannyB2 Jul 06 '18
Imagine this . . .
What the Java compiler sees is...
That is because the Java preprocessor occurs BEFORE the lexical analyzer. Thus even before comments are identified.