here is a challenge for you guys I couldn't solve it I even googled it but all the suggestions said to use imports that are not in the standards
java SDK
anyway what I want to do is find if an array contains a value as you can see with my example once the value is not found the recursive call keeps going and checks past the end of the array giving an ArrayOutOfBounds Exception
I want to be able to find if an array contains a value that I don't to import frameworks not from the java SDK and also it would preferable to use logic instead of Arrays.toList()
thanks heres what I have come up with so far