title: How to read and write Object Arrays in JAVA ? I am facing Problems
body: <p>I am having 10 Classes and I Have linked them like that 
  class Person is linked in class Array ,I have taken an array of objects in Array Class like this </p>
  
  <pre><code>Person [] p = new Person[99];
  
  public void generate(){
  
    for(int i=0;i&lt;=p.length-1;i++)
    {
       p[i]=new Person();//this will allocate space for Persons
    }
  }
  </code></pre>
  
  <p>Now how can i write the Data of each index stored by some Other class ?
  and How can i read after terminating it.?
  Thanks indeed</p>