nerdexam
Microsoft

98-361 · Question #377

You are creating a new class named Sphere derived from the Shape class. The Shape class has the following code: class Shape { public virtual void Area() { // additional code... } } The Area method…

Sign in or unlock 98-361 to reveal the answer and full explanation for question #377. The question stem and answer options stay visible for context.

Question

You are creating a new class named Sphere derived from the Shape class. The Shape class has the following code:

class Shape { public virtual void Area() { // additional code... } } The Area method in the Shape class should provide new functionality but also hide the Shape class implementation of the Area method. Which code segment should you use to accomplish this?

Options

  • Aclass Sphere : Shape
  • Bclass Sphere : Shape
  • Cclass Sphere : Shape
  • Dclass Sphere : Shape

Unlock 98-361 to see the answer

You've previewed enough free 98-361 questions. Unlock 98-361 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 98-361 Practice