- A Inherits
- B Extends
- C Supports
- D Follows
- Share this MCQ
Answer:
B
Share this MCQ
Justification:
- Inherits is not a valid keyword in X++ for class inheritance
- Extends is the correct keyword to use in the class declaration in order to specify Class Inheritance. For example, “class ChildClass extends ParentClass”
- Supports is not a valid keyword in X++ for class inheritance
- Follows is not a valid keyword in X++ for class inheritance
Related Lesson: Class Inheritance
Click me to Read more Question & Answer of Module 13: ClassesShare this MCQ