Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package jframe;
- import java.util.Scanner;
- public class okienkowy {
- public static void main(String args[]){
- Scanner UserLogin = new Scanner(System.in);
- user cokolwiek = new user();
- System.out.print("Podaj login: ");
- cokolwiek.login = UserLogin.nextLine();
- System.out.println(cokolwiek);
- }
- }
- -------------------------
- package jframe;
- public class user {
- String login;
- }
Advertisement
Add Comment
Please, Sign In to add comment