@@ -0,0 +1,181 @@
+// http://codingbat.com/prob/p186672%0A%0Apublic boolean only14(int%5B%5D nums) %7B%0A  for (int num : nums) %7B%0A    if (num != 1 && num != 4) %7B%0A      return false;%0A    %7D%0A  %7D%0A  %0A  return true;%0A%7D%0A

Create only14.java