Microsoft
98-361 · Question #354
98-361 Question #354: Real Exam Question with Answer & Explanation
Sign in or unlock 98-361 to reveal the answer and full explanation for question #354. The question stem and answer options stay visible for context.
Question
You created a class named GeoShape. You defined a method called Area in the GeoShape class. This method calculates the area of a geometric shape. You want the derived classes of GeoShape to supersede this functionality to support the area calculation of additional geometric shapes. When the method Area is invoked on a GeoShape object, the area should be calculated based on the runtime type of the GeoShape object. Which keyword should you use with the definition of the Area method in the GeoShape class?
Options
- Aabstract
- Bvirtual
- Cnew
- Doverrides
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.