Hi All
I have a class say amain with 2 methods
static void meth() { }
void meth1() { }
i create a object in the main method
amain x = new amain();
x = null;
x.meth() // works
x.meth1() // does not work throws null pointer exception
i know this behavior but can anybody explain the reason behind this behaviour.
Rgrds
MD