1.

What Methods Can Be Overridden In Java?

Answer»

In C++ terminology, all public methods in JAVA are virtual. Therefore, all Java methods can be overwritten in SUBCLASSES except those that are declared FINAL, static, and PRIVATE.

In C++ terminology, all public methods in Java are virtual. Therefore, all Java methods can be overwritten in subclasses except those that are declared final, static, and private.



Discussion

No Comment Found