Sunday, 28 April 2013

What methods can be overridden in Java? | C#.Net Interview Questions

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.

No comments: