Class Test

star goldstar goldstar goldstar goldstar greyFemaleMale
20 Questions - Developed by: - Updated on: - Developed on: - 4,933 taken

All you give your best

  • 1/20
    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?

Comments (0)