java - Username and Pass code using parallel arrays -


i trying create pass code , username login app designing. @ moment required have 4 users, , 4 separate pass codes relevant each user. code needs run in android emulator.

would have simple array structure easy follow?

as hristo said, should use hashmap

map<string, string> mymap = new hashmap<string, string>(); mymap.put("dmcg", "somepassword");  ...  string password = mymap.get("dmcg"); 

Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -