Home / Programming MCQs / JAVA MCQs / Question

R

Ram Sharma • 188.81K Points
Coach

Q. What is the use of final keyword in Java?

(A) When a class is made final, a sublcass of it can not be created.
(B) When a method is final, it can not be overridden.
(C) When a variable is final, it can be assigned value only once.
(D) All of the above

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.