the only part that gives me trouble is p.name at the end it says it's not recognising varianle name but it was initialised at the toppublic class Person { private String name; public Person() { name = "No name yet."; } public Person(String n) { name = n; } public void setName(String newName) { name = newName; } public String getName() { return name; } public void print() { System.out.println("Name: " + name); } public boolean equals(Object p) { return name.equals(p.name); } }