Given the following classes and properties:

Given the following classes and properties:

myco-data-shape (abstract)

area

color

myco-data-shape-rectangle

length

width

myco-data-shape-circle

radius

a page list property .shapes is defined as being of the abstract class myco-data-shape.

select two correct statements. (choose two)
A . a rule defined in myco-data-shape-rectangle can modify the. Color property.B. pages of shapes can contain. length and. Radius.
B . A rule existing in myco-data-shape can be overridden in myco-data-shape-circle.
C . pages of .Shapes can be of either myco-data-Shape-rectangle or myco-data-shape-circle, but all pages must be the same.

Answer: B C

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments