"blah" in my case is the data type. In your case it would be User. You might want to put User in another class instead of having it in main.
public class User
{
String username;
String...
Type: Posts; User: camel-man
"blah" in my case is the data type. In your case it would be User. You might want to put User in another class instead of having it in main.
public class User
{
String username;
String...
create an arrayList of objects. Then use the constructor for the usernames and passwords.
ArrayList<blah> t = new ArrayList<blah>();
t.add(new blah(/*the username , the password*/));
You...
How about prompting the user in main to enter in a username and password. Then use the username and password in the constructor of the object you create.
example
enter in username
//user...