Which of the following code segments is valid Java code to create a String object
A、String string1 = String(“This is string1”);
B、String string2 = “This is string2”;
C、oth of the above
D、none of the above
发布时间:2025-02-17 19:35:59
A、String string1 = String(“This is string1”);
B、String string2 = “This is string2”;
C、oth of the above
D、none of the above