单项选择题

A.Compilation fails.
B.Cannot add Toppings
C.The code runs with no output.
D.A NullPointerException is thrown in Line 4.