@@ -0,0 +1,148 @@
+// http://codingbat.com/prob/p185685%0A%0Apublic boolean firstLast6(int%5B%5D nums) %7B%0A  return (nums%5B0%5D == 6 %7C%7C nums%5Bnums.length-1%5D == 6) ? true : false;%0A%7D%0A

Create firstLast6.java