Person.java 185B

123456789101112131415
  1. // JN - 2018
  2. public class Person
  3. {
  4. private String name;
  5. /**
  6. * Constructor for objects of class Person
  7. */
  8. public Person(String n)
  9. {
  10. name = n;
  11. }
  12. }