Examveda
Examveda

In Java, what is the purpose of the final keyword when applied to a class?

A. It makes the class non-final.

B. It prevents subclassing.

C. It makes the class constant.

D. It makes the class abstract.

Answer: Option B


This Question Belongs to Java Program >> Declaration And Access Control

Join The Discussion

Related Questions on Declaration and Access Control