+ 2
Unlosed literal character error.. How do I fix?
class Lyrics { public static void main(String [] args) { System.out.println ("Sound of Silence"); System.out.println ("________________"); System.out.println ("Hello darkness my old friend"); System.out.println ("I've come to talk with you again"); } } //Hello darkness, my old friend I've come to talk with you again Because a vision softly creeping Left its seeds while I was sleeping And the vision that was planted in my brain Still remains Within the sound of silence.
3 Answers
+ 15
see the ending of multiline comment , its */ , NOT *\
+ 12
//Unlosed literal character error.. How do I fix?
class Lyrics {
public static void main(String [] args) {
System.out.println ("Sound of Silence");
System.out.println ("________________");
System.out.println ("Hello darkness my old friend");
System.out.println ("I've come to talk with you again");
}
}
/*Hello darkness, my old friend
I've come to talk with you again
Because a vision softly creeping
Left its seeds while I was sleeping
And the vision that was planted in my brain
Still remains
Within the sound of silence.
*/
+ 2
Now it says 'An error occurred'.
class Lyrics {
public static void main(String [] args) {
System.out.println ("Sound of Silence");
System.out.println ("________________");
System.out.println ("Hello darkness my old friend");
System.out.println ("I've come to talk with you again");
}
}
/*Hello darkness, my old friend
I've come to talk with you again
Because a vision softly creeping
Left its seeds while I was sleeping
And the vision that was planted in my brain
Still remains
Within the sound of silence.
*\