Java Check If Number Exists In Array