PRO192_-_SP_2025_-_Block_5_-_1_3854.webp
M

PRO192_-_SP_2025_-_Block_5_-_1_3854.webp

Kizspy Question: 18
(Choose 1 answer)
PULVERF.JM CON
What is the output of the following code snippet?
public class Person {
protected String id = "New Id";
public static void main(String[] args) {
Person p = new Person();
p.id = "FPTU";
System.out.println(p.id);
A. FPTU
B. null
C. New Id
D. Runtime error

Thông tin

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

Share this media

Back
Bên trên Bottom