I am thinking of a way to look up member ids in Java. But I first need to know if it is possible to store those ids in groups.
Problem is I want the member ID = FirstName, LastName;
How Do I store these together?
ID would be a integer but the names would be a string.
Like if look up member id> 433 || I want to output > Smith, John
I also like to be able to search the name Smith and get > 433, Smith, John
How do I create a variable to store these so they are linked together like so?
I don’t know what this is called or otherwise I would look it up myself. Anyone know where I can begin to research this?
You want to group up your related values into a class such as:
And then, use a map to search up your values: