You get an error message. Java is case-sensitive. Java knows what System.out means because
System.out
is part of the Java library code. But Java doesn't know what system.out is.
The code runs correctly. Java doesn't care about line breaks. (Actually, there's an exception. You can't
put a line break in the middle of a double-quoted string of characters.)
For most of the places where you add a semicolon, nothing bad happens. The program still runs correctly.
In Java, an extra semicolon is considered to be an extra empty statement -- a statement that does nothing.
And that's okay.
Java displays the text Use a straight quote ", not a curly quote ” which ends with a curly
quotation mark. In Java, \" represents a straight quotation mark to be displayed on the screen,
and \u201D represents a curly quotation mark to be displayed on the screen.