0
How to store this in String
I want to know how to store this value in String with double cot The Value is "hello.hi.bye","e:/music/text.txt"
6 Antworten
0
ok please correct typo "cot" its quote
to print double quotes you have to use escape sequences
\"hello.hi.bye\"
0
ok I know this but I want to know that can I store both value in string separated by coma
0
yes you can let me help you
you can do it like this
"\"hello.hi.bye\",\"e:/music/text.txt\""
0
I already tried this but it's not working it's showing error in coma
0
it is working brother everting is good may be you missed double double quote at the end of String plz copy String carefully
0
SORRY brother I forget to mansion that string should be "public static final"
in simple string it's working not in final or static