+ 1
String type
What is the difference between lines below? String str = new String("123"); String str = "123";
2 ответов
+ 1
"123"; summary new string("123");
0
fisrt str is a object of a class but the second str is a variable.
What is the difference between lines below? String str = new String("123"); String str = "123";