Create a new object with the name of a variable.. Is it possible to create a new object with the name of a variable ?? <br/> <br/> For example how can I do something like : <br/> <br/> String x = &quot;hello&quot;;<br/> int[] x = new int[22]; // this is incorrect but I wish to name this new array as the data in string x<br/> <br/> Can anyone help please??<br/> <br/>© 2009 Microsoft Corporation. All rights reserved.Tue, 21 Apr 2009 17:37:03 Zca1ba516-6d6a-4c63-a859-d3f5d808fb45http://social.msdn.microsoft.com/Forums/en/olsbgeneral/thread/ca1ba516-6d6a-4c63-a859-d3f5d808fb45#ca1ba516-6d6a-4c63-a859-d3f5d808fb45http://social.msdn.microsoft.com/Forums/en/olsbgeneral/thread/ca1ba516-6d6a-4c63-a859-d3f5d808fb45#ca1ba516-6d6a-4c63-a859-d3f5d808fb45borgrodrickhttp://social.msdn.microsoft.com/Profile/en-US/?user=borgrodrickCreate a new object with the name of a variable.. Is it possible to create a new object with the name of a variable ?? <br/> <br/> For example how can I do something like : <br/> <br/> String x = &quot;hello&quot;;<br/> int[] x = new int[22]; // this is incorrect but I wish to name this new array as the data in string x<br/> <br/> Can anyone help please??<br/> <br/>Tue, 21 Apr 2009 17:37:00 Z2009-04-21T17:37:00Z