Tuesday, 15 September 2015

java - What is the impact of declaring a method as final? -



java - What is the impact of declaring a method as final? -

can method declared final overridden , overloading ? 2 if static sub class of b. how access method in class ??

you can overload method declared final. (an overloaded method fundamentally different function, akin function having different name).

you cannot override method declared final.

java oop

No comments:

Post a Comment