Question: A class inherits a base class and it overrides a method from that base class. Select all possible forms of the base class and its
A class inherits a base class and it overrides a method from that base class.
Select all possible forms of the base class and its method:
Select all acceptable answers
The method in the overriding class must have the override.
The method from the base class does not need to have any modifier.
The method from the base class can have only a protected modifier.
The method from the base class can be virtual in
The method from the base class can be abstract in
The base class can be sealed in
The base class can be abstract in
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
