Hi I would just like to know how to pass data types within a class.
For example


 The program however must use the two instance variables to take the
name and age of two people usiing only those instance variables.

public class Person

{
  private String name;
private int age;

public Person (aName,fAge)
{
this.name=aName;
this.age=aAge;
}

  }

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en

Reply via email to