What is final method?
Answers
Answered by
0
A final method cannot be overridden or hidden by subclasses. This is used to prevent unexpected behavior from a subclass altering a method that may be crucial to the function or consistency of the class.
Similar questions
Science,
7 months ago
Math,
7 months ago
Computer Science,
1 year ago
Math,
1 year ago
Physics,
1 year ago