In Java the following is a syntactically correct statement: System.out.println("Hello World"); while the following is not: System.out.println(Hello World); The second example would theoretically print the variable Hello World instead of the words Hello World.
I Java er nedenstående en syntaktisk korrekt sætning: System.out.println("Hello World"); mens nedenstående ikke er : System.out.println(Hello World); Det andet eksempel ville teoretisk udskrive variablen Hello World i stedet for ordene Hello World.