Z31_1721879735_FFT4M06C_1721879742.png
funnycode_se

Z31_1721879735_FFT4M06C_1721879742.png

(Choose 1 answer)
}
What is the output of the following Java program?
class A {
int i, j;
A() {
i = 1;
j = 2;
}
}
public class Main {
public static void main(String args[]) {
A obj1 = new A();A obj2 = new A();
} System.out.println(obj1.equals(obj2));
A. false
B. true
C. obj1.equals(obj2)
D. Runtime error
DIFUOn the exem

Thông tin

Category
PRO192
Thêm bởi
funnycode_se
Ngày thêm
Lượt xem
225
Lượt bình luận
1
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom