Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String name, second_name;
- Scanner odczyt = new Scanner(System.in);
- name = odczyt.nextLine();
- second_name = odczyt.nextLine();
- Person cos = new Person(name, second_name);
- System.out.println(cos.getName());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement