Hi, can you help and fix the code below, i get the error can't find symbol - variable lastName
public class Person { private String firstName; private String lastName; public Person(String last,String first) { firstName = first; [COLOR="#FF0000"]lastNmae[/COLOR] = last; } public void setFirstName(String first) { firstName = first; } public String getFirstNmae() { return firstName; } public void setLastName(String last) { lastName = last; } public String getLastNmae() { return lastName; } }
thanks