public class Test { public staticvoid test(){ print(); } public staticvoid print(){ System.out.println("Test"); } public void print(){ System.out.println("Another Test"); } }
So this code will not work stating - duplicate method error.
Thanks for the post, I am techno savvy. I believe you hit the nail right on the head. I am highly impressed with your blog. It is very nicely explained. Your article adds best knowledge to our Java Online Training from India. or learn thru Java Online Training from India Students.
Thanks for the post, I am techno savvy. I believe you hit the nail right on the head.
ReplyDeleteI am highly impressed with your blog. It is very nicely explained.
Your article adds best knowledge to our Java Online Training from India. or learn thru Java Online Training from India Students.