Q71
If math class had add property with get and set accessors, then which of the following statements will work correctly?
A.
math.add = 20;
B.
math m = new math();
m.add = 10;
Answerm.add = 10;
C.
Console.WriteLine(math.add);
D.
None of the mentioned
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board