class Film implements java.io.Serializable { private int gyartasiEv; private String cim; private String rendezo; public Film(int gyartasiEv, String cim, String rendezo) { this.gyartasiEv = gyartasiEv; this.cim = cim; this.rendezo = rendezo; } public int getGyartasiEv() { return gyartasiEv; } public String getCim() { return cim; } public String getRendezo() { return rendezo; } @Override public String toString() { return cim + " (" + gyartasiEv + ")"; } }