a) static methods when being redefined their visibility cannot be reduced.
b) Inside static methods super cannot be used. But inside non static method you can use super to call a static super class method.
c) static methods are inherited.
d) if a class has defined a static method or has an inherited a static method, then a nonstatic method with same name in the that class is not possible.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment