Code: Select all
public String toString(){ return name; }; Moderator: admin
Code: Select all
public String toString(){ return name; }; Not sure why you think so. If you comment out important parts of any code, it will bombETS User wrote: Turns out your answer is correct, but code is not well-written
Users browsing this forum: Bing [Bot], SHAD0WF4X and 36 guests