SriHarsha Bolisetti

SriHarsha Bolisetti

I am Sri Harsha Bolisetti, a graduate student in computer science at University of Waterloo.

Overloading in Java

Overloading: Methods are said to be overloaded if they have same method names but different arguments. Consider the below example 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 class Sample { public static void m1() { System.out.println("No arg!"); }   public static void m1(int […]