Kizspy | Question: 18
(Choose 1 answer)
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);
FJOVERFLOW.COM
A. FPTU
B. null
C. New Id
D. Runtime error