Created
March 5, 2012 00:53
-
-
Save Irfy/1975713 to your computer and use it in GitHub Desktop.
Properly formatted code from http://stackoverflow.com/questions/9560319/string-in-java-class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class User { | |
public String[] usernames; | |
public User(String[] names) { | |
usernames = names; | |
} | |
public String[] getUsernames() { | |
return usernames; | |
} | |
public void setUsernames(String[] usernames) { | |
this.usernames = usernames; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment