- A instantiate
- B new
- C public
- D return
- Share this MCQ
Answer:
B
Share this MCQ
Justification:
- Instantiate is not a valid keyword.
- The new keyword is used to instantiate a class.
- The public keyword is used to determine the scope and accessibility of a method, and is not used in instantiation of classes.
- Return is not a valid keyword to instantiate a new class.
Related Lesson: Create a Base Class
Click me to Read more Question & Answer of Module 13: ClassesShare this MCQ