answersLogoWhite

0

The error "unclosed string literal" means that you wrote a double quote " somewhere but you didn't write another double quote later on to close the string.

Note: You cannot start writing a string on one line and continue on another line, like this:

System.out.println("Hello

World");

If you absolutely want to distribute this over multiple lines, do it like this:

System.out.println("Hello "

+ "World");

User Avatar

Wiki User

16y ago

What else can I help you with?