Class Test

star goldstar goldstar goldstar goldstar greyFemaleMale
20 Questions - Developed by: Gunanand - Developed on: - 2.648 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 page 0 of 0
Click here to add a comment
There are currently 0 comments to display.