Computer Science, asked by anuj, 1 year ago

What is final method?

Answers

Answered by denistravelp3ve2y
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