有以下代码:class A{
public A(String str){
}
}
public class Test{
public static void main(String[] args) {
A classa=new A("he");
A classb=new A("he");
System.out.println(classa==classb);
}
}请问输出的结果是:
发布于 2023-03-06 16:04:38
【单选题】
A false
B true
C 报错
D 以上选项都不正确
查看更多
- 体验AI问答!更聪明、超智能!
- 一款基于GPT的超级AI助手,可以对话、创作、写文案!