1.

The correct way to implement a write only property add in a math class? a) class math { public int add { set { add = value; } } } b) class math { int ad; public int add { set { ad = value; } } } c) class math { int ad; public int add { get { return ad; } set { ad = value; } } }

A. A
B. B
C. C
D. None of the mentioned
Answer» C. C


Discussion

No Comment Found