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
Post a Comment