class IntObj { int value;
}
public class PointerFun { public static void main(String args[]) { IntObj x, y=null; x = new IntObj(); x.value = 42; y.value = 13; }
};
mbroeker 3 years ago 3
niceeeeeeeeeeeeeeeeeeeeeeee it didnt work =p lol i tried it on eclipse and didnt work.......................
Davyc712 4 years ago
class IntObj { int value;
}
public class PointerFun { public static void main(String args[]) { IntObj x, y=null; x = new IntObj(); x.value = 42; y.value = 13; }
};
mbroeker 3 years ago 3
niceeeeeeeeeeeeeeeeeeeeeeee it didnt work =p lol i tried it on eclipse and didnt work.......................
Davyc712 4 years ago