若一个对象被命名为MyObject,则下列访问该对象的语句中,错误的是() A: MyObject.aproperty = 42; B: "MyObject".aproperty = 42; C: %objname = MyObject; %objname.aproperty = 42; D: %objname =42; %objname.aproperty = 42;
若一个对象被命名为MyObject,则下列访问该对象的语句中,错误的是() A: MyObject.aproperty = 42; B: "MyObject".aproperty = 42; C: %objname = MyObject; %objname.aproperty = 42; D: %objname =42; %objname.aproperty = 42;
1