Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void main (String[] args){
- kurs kot = new kurs();
- System.out.println("Podaj imie kota: ");
- kot.setImie(getUserInput());
- System.out.println("Podaj imie opiekuna: ");
- kot.setImieOpiekuna(getUserInput());
- Date data = new Date();
- SimpleDateFormat sdf = new SimpleDateFormat("yyyy.MM.dd");
- System.out.println("Podaj date: " + sdf.format(data));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement