Can we call byte or long version through overloading in this code snippet?
public class over{
public void first(int a,int b) {
System.out.println("first is:"+(a+b));
}
public void first(long a,long b) {
System.out.println("second is:"+(a+b));
}
public void first(byte a,byte b) {
System.out.println("third is:"+(a+b));
}
public static void main(
String a[]) {
over aa = new over();
aa.first(1,1);
}
}
If Yes, How? :roll: