naveen yadav wrote:Now it gets clear that object get GCed not reference var. There are 2 object created ob and obj .
obj is eligible foe GC. since obj is nul in line 10l.
what about ob ?
Will this make ob object also eligible for GC ? since ob was referring to the obj object in line 9.
I think ob is also eleigible for GC ?? anybody agree.
Rob Spoor wrote:Which browser are you using? Accessing the clipboard is blocked by some browsers; Opera for instance (my browser) doesn't support it at all. This is done because of security, to prevent malicious sites to copy and/or paste to/from the clipboard.