+ 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.

9th Feb 2018, 7:30 AM
Mr. Cat
Mr. Cat - avatar
3 Respuestas
+ 15
see the ending of multiline comment , its */ , NOT *\
9th Feb 2018, 7:48 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 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. */
9th Feb 2018, 7:34 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 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. *\
9th Feb 2018, 7:37 AM
Mr. Cat
Mr. Cat - avatar