Which code block will run successfully in an execute anonymous window?

A developer has the controller class below.

Which code block will run successfully in an execute anonymous window?
A . myFooController m = new myFooController();System.assert(m.prop !=null);
B . myFooController m = new myFooController();System.assert(m.prop ==0);
C . myFooController m = new myFooController();System.assert(m.prop ==null);
D . myFooController m = new myFooController();System.assert(m.prop ==1);

Answer: C

Latest DEX-450 Practice Questions with 456 Q&As

Updated Study Material | Instant Download | Detailed Answers and Explanations

Subscribe
Notify of
guest
0 Comments