问题 更新时间2023/4/3 12:59:00 写出以下程序的运行结果。 答案 登录 注册 public class EqualOrNot { public static void main(String[] args) { B b1=new B(5); B b2=new B(5); System.out.println(b1==b2); System.out.println(b1.equals(b2)); } } class B { int x; B( int y){ x=y; } } False False 出自:江开 >> 湖南大学-网络编程