Leave a Reply 2

Your email address will not be published. Required fields are marked *


xxx

xxx

public class Access {
static void doubling(Integer ref, int pv){

ref = 20;
pv = 20;
}
public static void main(String[] args){
Integer iobj = new Integer(10);
int var =10;
doubling(iobj++,var++);
System.out.println(iobj + ” ” + var);
}
}

a