Get Values from array object using String type object id : <p>Is there a way to get the values of an array object if we have the object id as String value</p>

<p>//assume this is a real object id value,</p>

<p>A PC send an array to my and then i get this id from a that PC as String (Using Sockets). I want to get the content of the array by using that object name. </p>

<h1>client</h1>

<pre><code>`
       Random random = new Random();
        for ( int i = 0 ; i&lt;5 ; i++ ) {
            weatherDetails[i] = random.nextDouble() * 100;
        }
        out.println(weatherDetails);
</code></pre>

<p>`</p>

<h1>server</h1>

<pre><code>          while (true) {
      input = in.readLine();
      if (input == null) {
             return;
      }            
      System.out.println("Input value weather-&gt;" + input);//[D@514713
            }
</code></pre>
