You override the toString() method that Contact inherits from the Object class. For example:
public String toString() {
return firstName+" "+lastName;
}
You had it close with the...
Type: Posts; User: aussiemcgr
You override the toString() method that Contact inherits from the Object class. For example:
public String toString() {
return firstName+" "+lastName;
}
You had it close with the...