Mistři v programování na #hovnokod

Java #4013

toString

//toString
@Override
public String toString() {
    System.out.println("Pole:");
    for (Plodina tmp = this.first; tmp != null; tmp = tmp.getNext()) {
        System.out.println(tmp);
    }
    return "";
}

Anonymous,