string-literals tag

3 questions


1 answers
145 views
0
To assign a string that spans multiple lines at once

I'm just going to copy and paste the sentence from the file.There is an error in my code.And the color changes in the middle What should I do?using namespace std;int main(){ const char* msg = hello m...

2 years ago

2 answers
114 views
0
What is the difference between string object and string in Java?

String str = new String(abc);WowString str = abc;What's the difference?


1 answers
123 views
0
JavaReferences and strings

The reference variable that stores the class's address value is System.out.print(), which shows the address value at the time of output.The reference variable referring to the string class is System.o...


© 2024 OneMinuteCode. All rights reserved.