You are defining a class named MyClass that contains several child objects. MyClass contains a method named ProcessChildren that performs actions on the child objects. MyClass objects will be serializable.You need to ensure that the ProcessChildren method is executed after the MyClass object and all its child objects are reconstructed.Which two actions should you perform?()
代理类型MyDelegate定义如下 则下列哪些语句可以替换Class1的"//在此添加代码",以将MyClass的Hello方法绑定到DoSomthing事件?()
下列语句是MyClass的一部分,obj是MyClass的一个对象。 则调用obj.test()后。控制台输出()。
10. public class MyClass { 11. 12. public Integer startingI; 13. public void methodA() { 14. Integer i = new Integer(25); 15. startingI = i; 16. methodB(i); 17. } 18. private void methodB(Integer i2) { 19. i2 = i2.intValue(); 20. 21. } 22. } If methodA is invoked, which two are true at line 20?()
在类MyClass中定义下列域和方法: 现在需要编写代码在ShowInformation中将MyClass当前对象的data域赋值为100。正确的语句为:()。
已知接口IHello和类Base、MyClass的定义如下: 则下列语句在控制台中的输出结果为()。
You are defining a class named MyClass that contains several child objects. MyClass contains a method named ProcessChildren that performs actions on the child objects.MyClass objects will be serializable.You need to ensure that the ProcessChildren method is executed after the MyClass object and all its child objects are reconstructed. Which two actions should you perform?()
C#中MyClass为一自定义类,其中有以下方法定义: 使用以下语句创建了该类的对象,并使变量obj引用该对象,那么,访问类MyClass的Hello方法正确的是:()。
涉及类MyClass的方法签名足public void find(MyClass a),那么该方法可接收的实际参数的类型可以是哪些?()
分析下列程序中类MyClass的定义: 则下列语句在Console上的输出为()。