分析下列程序: public class class4 { private string _sData = ""; public string sData { set { _sData = value; } } } 在Main方法中,成功创建该类的对象obj后,下列语句( )是合法的。
A.
obj.sData = "It is funny!";
B.
Console.WriteLine(obj.sData);
C.
obj._sData = 100;
D.
obj.set(obj.sData);
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
皮皮学刷刷变学霸
举一反三
【简答题】When did Miss Barton retire from the leading office of the Red Cross in the U. S. ?30:When did Miss Barton retire from the leading office of the Red Cross in the U. S. ?