Z40_1721879780_FFT4M06C_1721879783.png
funnycode_se

Z40_1721879780_FFT4M06C_1721879783.png

(Choose 1 answer)
What is the output of the following code snippet?
public class Person {
protected String id;
public void calPerson (Person p){
p.id = "HCM":
System.out.print(p.id);
}
public static void main(String[] args) { Person p = new Person();
p.id = "FPT";p.calPerson(p);
}
}
A. HCM
B. FPT
C. FPTHCM
D. HCMFPT
DIFUOn the exem

Thông tin

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

Share this media

Back
Bên trên Bottom