Quiz
Let's test your understanding of inheritance with the help of this short quiz.
1
Which one of the following is the generic syntax to derive a class from another class?
A)
class ParentClass : class ChildClass{...}
B)
class ChildClass : class ParentClass {...}
C)
class ChildClass : ParentClass {...}
Question 1 of 50 attempted
Get hands-on with 1400+ tech skills courses.