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