I\'m having trouble with this CodingBat problem:
Given an int array length 2, return True if it contains a 2 or a 3.
I\'ve trie
This Java code works fine:-
public boolean has23(int[] nums) { if(nums[0]==2||nums[1]==2||nums[0]==3||nums[1]==3){ return true; } return false; }