Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void ispis(Dete[] deca) {
- String aut = Svetovid.in.readToken("kako da se zove izlazni? > ");
- Svetovid.out(aut).println(deca.length);
- for (Dete d : deca) {
- Svetovid.out(aut).println(d.getIme());
- Svetovid.out(aut).println(d.getPrezime());
- if (d.isDobar()) {
- Svetovid.out(aut).print("da ");
- } else Svetovid.out(aut).print("ne ");
- Svetovid.out(aut).println(d.getGod());
- }
- Svetovid.out(aut).close();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement