how to read many points through point class in java?
<pre><code>public class point3d {
float x;
float y;
float z;  
public point3d(float x, float y, float z){
   this.x = x;
   this.y = y;
   this.z = z;
}
public point3d(){
    x = 0;
    y = 0;
    z = 0;
}
public float getX(){
    return x;
}
void setX(float x) {
    this.x =x;
}
public float getY(){
    return y;
}
void setY(float y) {
    this.y =y;
} 
public float getZ(){
    return z;
}         
void setZ(float z) {
    this.z = z;
}
public String toString()
{
    return "(" + x + ", " + y + "," + z + ")";
}        
}
</code></pre>

<p>This is a point3d class code i have written and I want to read multiple points through this point3d class, which are given in main class how could i achieve this. pls help me?</p>
