+ 7
What is the meaning of a final class and a final method?
Is it possible that anyone can give me answer of this question.
2 Réponses
+ 8
thanks for clear my confusion
+ 1
Final classes. A final class cannot be subclassed.
u can declare some or all of a class'smethods final. You use the final keyword in a method declaration to indicate that the method cannot be overridden by subclasses. The Object class does this—a number of its methods are final .