black

MCPD(70-536)

登录

单项选择题

You work as the application developer at Cert-Tech.com. Cert-Tech.com uses Visual Studio.Net 2005 as its application development platform. You use a Windows XP Professional client computer named Client01 as your development computer. 
You are developing a .Net Framework 2.0 application on Client01. You write the code shown below:Public Class Shape 
Private shapeName as String 
Public Sub Shape(ByVal shapeName as String) Me.shapename=shapeName End Sub 
Public Overridable Fuction GetName() As String Return shapeName End Function 
Private Sub DrawShape() ’Additional code goes here End Sub End Class 
You later decide to have the application compiled and registered for COM interoperability. The other developers on your team complaing that they are unable to create an instance of the Shape class  in their COM applications. You are required to ensure that COM applications are able to create an instance of the Shape class. What should you do?()

A.A
B.B
C.C
D.D

相关考题

单项选择题 Youaredevelopinganapplicationtoassisttheuserinconductingelectronicsurveys.Thesurveyconsistsof25true-or-falsequestions.Youneedtoperformthefollowingtasks:Initializeeachanswertotrue.Minimizetheamountofmemoryusedbyeachsurvey.Whichstorageoptionshouldyouchoose?()

单项选择题 You are writing a custom dictionary.The custom-dictionary class is named MyDictionary.You need to ensure that the dictionary is type safe. Which code segment should you use?()

单项选择题 Certkiller.com 希望可以开发一个应用程序存储和检索雇员信息唯一的工作人员的数量。您创建的自定义集合类,该类实现的类型安全的 IDictionary 接口。此集合类被命名为 EmployeeCollection,并使用下面的代码定义。()public class EmployeeCollection : IDictionary {/ / 执行代码}

All Rights Reserved 版权所有©财会考试题库(ckkao.com)

备案号:湘ICP备2022003000号-2