A child class _____ exist if there is no parent class

[amp_mcq option1=”must” option2=”may” option3=”cannot” option4=”can” correct=”option3″]

The correct answer is C. cannot.

A child class cannot exist if there is no parent class. A child class is a class that inherits from another class, called the parent class. The parent class must exist before the child class can be created.

Option A is incorrect because a child class must have a parent class.

Option B is incorrect because a child class cannot exist without a parent class.

Option D is incorrect because a child class cannot exist without a parent class.

Exit mobile version