+ 1

What does unclosed string leteral error mean (java) ?

13th Jun 2020, 10:30 PM
Samah Mamour
8 ответов
+ 3
Samah Mamour To print the variable seq, just remove the last " from that line.
13th Jun 2020, 11:40 PM
Avinesh
Avinesh - avatar
+ 1
Sounds like missing quotes or brackets. A piece of code would be helpful.
13th Jun 2020, 10:40 PM
Sandra Meyer
Sandra Meyer - avatar
+ 1
Okay, or the other variant: too many quotes 😉 Remove these: + seq "); Then there is a semicolon missing: Boolean done = true; And anything is going wrong with your brackets anywhere. But this tool doesn't show too much.
13th Jun 2020, 10:56 PM
Sandra Meyer
Sandra Meyer - avatar
+ 1
String needs two "quotes" marks, but in your code is only "one
13th Jun 2020, 10:58 PM
zemiak
+ 1
Thank you a lot :)
13th Jun 2020, 10:59 PM
Samah Mamour
+ 1
Sandra Meyer but if i remove + seq"); how can i print the variable called seq ?
13th Jun 2020, 11:26 PM
Samah Mamour
+ 1
Avinesh i will try thank you a lot
13th Jun 2020, 11:44 PM
Samah Mamour
13th Jun 2020, 10:53 PM
Samah Mamour