Commit 57a31b5c by Patryk Czarnik

Konto.toString

parent aabb4a29
......@@ -44,4 +44,9 @@ public class Konto {
docelowe.saldo += kwota;
// operacja na polu innego obiektu - dopuszczalna
}
@Override
public String toString() {
return "Konto nr " + numer + ", saldo=" + saldo + ", wł=" + wlasciciel;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment