Originally Posted by
anjanesh
Is there any way to destroy a variable so that it can be used to assign it to another type ?
Rajiv will correct me if I'm wrong, but I'm pretty sure he answered this question.
Variable names in the same scope should be unique. You cannot have two variables with the same name in the same scope.
However, if you want to use the same reference variable to point to a different object, you can do so.