public class Test { public static void test() { print(); } public static void print() { System.out.println("Test"); } public void print() { System.out.println("Another Test"); } }
A java blog with a collection of examples and tutorials on Java and related technologies. (Under maintenance with continuous updates) Be in touch with java jazzle or k2java.blogspot.com.
Friday, February 18, 2011
Method overloading,overriding and static
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment