CONSIDER TWO CLASSES NAMED ANIMALS AND BIRDS. IF...
111.
Consider two classes named animals and birds. If a class called
species is to be created
which has to inherit properties of all the above two classes identify the
valid statement/statements for the same.
a)
Public Class animals
c)
Public Class animals
End Class
Public Class birds
Public Class species
Inherits birds, animals
Inherits birds
Inherits animals
d) None of the above codes
b)
Public Class animals
are valid.