in some books i found that static method is possible for overriding ?how can we override a static method during compile time itself we found that which method is going to execute so the benefit of overriding is gone if we use it
Printable View
in some books i found that static method is possible for overriding ?how can we override a static method during compile time itself we found that which method is going to execute so the benefit of overriding is gone if we use it
raghu, Welcome to the Java forums.
Please read the FAQ before posting again.
Finally, please read the section on inheritance from the tutorials from Sun for finding the solution to your question.
Thank you for your understanding and cooperation. See you around! :)