what happens at memory level....when one object is assigned to another....
i have written 2 classes.....1st named base class mybase and a subclass named subclass....
now i create object of baseclass...
mybase b = new mybase();
//and now i create object of subclass
subclass c = new subclass();
b=c;
now question is this what happens at memory level....i knw they now start to share same memory location( memory location of c)......so wat abt previous location which was alocated to b.....isnt that anymore.....and may be m having wrong concept of all this...pzl describe it and i have some peculiar observation concerning this matter......will ask after reply to dis thread...plz reply tx in advance!!!!