定义如下程序: public class Student{ public ...
发布于 2022-05-23 17:27:41
定义如下程序:
public class Student{ public String name public Student(String name){ this.name = name } } public class Test implements Cloneable{ public Student st public static void main(String[] args){ Student s1 = new Student(“Tom”) Test t1 = new Test() t1.st = s1 Test t2 = (Test) t1.clone() } }
以下表达式中值为true的是?()
登录后免费查看答案
关注者
0
被浏览
22