当前位置:MCPD(70-536)题库

问题:

[单选]

您编写以下代码以实现 CertkillerClass.MyMethod 函数。
public class CertkillerClass {
public int MyMethod(int arg) {
return arg;
}
}
您需要在您的程序集中不相关的类里动态调用 CertkillerClass.MyMethod 函数。
您应该使用哪个代码段?()

A .
B .
C .
D .

你使用RIS远程安装WindowsXP专业版。你打开你的电脑,让他与RIS服务器连接,但是你的电脑并没有连接到网络RIS服务器,而是返回一条错误信息“操作系统没有被发现。”你的电脑是通过一块PXE适应网卡连接到网络的。你怎样才能使你的电脑连接到网络RIS服务器?() 请求网管修改网络DHCP服务器,为你的电脑预留一个DHCP。 请求网管修改RIS服务器权限,允许你的域用户以只读的方式使用RIS映像。 修改你的电脑的BIOS设置,确保电脑的开机设置为从网络启动。 修改你的电脑的BIOS的设置,确保那台电脑的开机口令与RIS服务器管理员的口令一致。 Your network consists of a single Active Directory domain. All domain controllers run Windows  Server 2003.     You upgrade all domain controllers to Windows Server 2008 R2.   You need to ensure that the Sysvol share replicates by using DFS Replication (DFS-R).     What should you do() From the command prompt, run netdom /reset.。 From the command prompt, run dfsutil /addroot:sysvol.。 Raise the functional level of the domain to Windows Server 2008 R2.。 From the command prompt, run dcpromo /unattend:unattendfile.xml.。 You are the network administrator for your company. The network consists of a single Active Directory domain. The domain includes an organizational unit (OU) named Processing. There are 100 computer accounts in the Processing OU. You create a Group Policy object (GPO) named NetworkSecurity and link it to the domain. You configure NetworkSecurity to enable security settings through the Computer Configuration section of the Group Policy settings. You need to ensure that NetworkSecurity will apply only to the computers in the Processing OU. You need to minimize the number of GPO links.  What should you do?()  Link NetworkSecurity to the Processing OU. Disable the User Configuration section of NetworkSecurity.。  Link NetworkSecurity to the Processing OU. Remove the link from NetworkSecurity to the domain.。  Modify the discretionary access control list (DACL) for NetworkSecurity to assign all computer accounts in the Processing OU the Allow - Read and the Allow - Apply Group Policy permissions.。  Modify the discretionary access control list (DACL) for NetworkSecurity to assign the Authenticated Users group the Deny - Apply Group Policy permission and to assign all of the computer accounts in the Processing OU the Allow - Read and the Allow - Apply Group Policy permissions.。 在目前的网页中,()不是网页可以用的后缀名。 .htm。 .html。 .asp。 .txt。 乙级价格评估机构可在机构所在地的()行政区域范围内开展价格评估工作。 国家级。 省级。 市级。 县级。

您编写以下代码以实现 CertkillerClass.MyMethod 函数。
public class CertkillerClass {
public int MyMethod(int arg) {
return arg;
}
}
您需要在您的程序集中不相关的类里动态调用 CertkillerClass.MyMethod 函数。
您应该使用哪个代码段?()

参考答案:

  参考解析

使用反射获取对应于MyMethod成员函数的MethodInfo方法。 调用Invoke()方法类激活MethodInfo方法。

相关题目:

在线 客服