可学答题网 > 问答 > MCPD(70-536)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

You work as an&#8194


You work as an application developer at Certkiller .com. Certkiller .com has instructed you to create a class named MetricFormula. This class will be used to compare MetricUnit and EnglishUnit objects.The MetricFormula is currently defined as follows (Line numbers are used for reference purposes only): 1. public class MetricFormula2. { 3. 4. } You need to ensure that the MetricFormula class can be used to compare the required objects. What should you do? ()

  • A Add the following code on line 1: : IComparable {
  • B Add the following code on line 1: : IComparer {
  • C Add the following code on line 3: public int Compare (object x, object y) {// implementation code }
  • D Add the following code on line 3: public int CompareTo (object obj) {// implementation code }
参考答案
参考解析:
分类:MCPD(70-536)题库
相关推荐

1、You work as an 

You work as an Exchange Administrator for UniCom Inc.The company has a Windows 2008&#81...

2、You work as an 

You work as an administrator at ABC.com. The ABC.com network consists of a single&#8194...

3、You work as an 

You work as an administrator at ABC.com.The ABC.com network consists of a single domain...

4、You work as an 

You work as an administrator at ABC.com. The ABC.com network consists of a single&#8194...

5、You work as an 

You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visu...

6、You work as an 

You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visu...