PRO192_-_FA_2024_-_Block_5_-_FE_3237.webp
plum_blossom1

PRO192_-_FA_2024_-_Block_5_-_FE_3237.webp

Kizspy | Question: 19
(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);
}
FUOVER
}
A. HCM
B. FPT
C. FPTHCM
D. HCMFPT

Thông tin

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

Share this media

Back
Bên trên Bottom