hello,
I would like a litle enlightment about instaanciation in Java.
For example I have the following code creating an object "Person"


public class Person {

public String name ;
public String dept ;


public Person() {
this.name = "" ;
this.dept = "General" ;
}

}




And yet I would like to instanciate this Object "Person" within another code.
Please tell me how this works in java and what should I take care off when instantiating an Object in another source code.
Thanks.