Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package pkg33333333;
- import java.util.Scanner;
- /**
- *
- * @author ais.amb
- */
- public class User {
- String UserName;
- String Password;
- public User(string name, string password){
- UserName = name;
- Password = password;
- }
- }
- public class MainProgram {
- public static void main(String[] args) {
- User user = new User("Aiste", "Faina");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement