OOPS
August 29, 2024OOPS
August 29, 2024OOPS
Question 175 |
Method overriding can be prevented by using final as a modifier at ______.
The start of the class. | |
The start of method declaration. | |
The start of derived class. | |
The start of the method declaration in the derived class. |
Question 175 Explanation:
Method overriding can be prevented by using final as a modifier at the start of method declaration.
Correct Answer: B
Question 175 Explanation:
Method overriding can be prevented by using final as a modifier at the start of method declaration.