Multiple Choice
Which of the following is the correct syntax for defining a class dining which inherits from class furniture?
A) class furniture(dining)
B) class dining(furniture)
C) class furniture(dining) :
D) class dining(furniture) :
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q8: When there are several classes that have
Q26: In an inheritance relationship, a television is
Q27: One of the ingredients of polymorphic behavior
Q28: In the following line of code, what
Q29: _ is used to create an 'is
Q31: In a UML diagram, what does the
Q31: An "is a" relationship exists between a
Q33: The _ function determines whether an object
Q35: A superclass inherits attributes and methods from
Q35: In an inheritance relationship, what is a