// http://codingbat.com/prob/p144535

public boolean in1020(int a, int b) {
  if ((a >= 10 && a <= 20) || (b >= 10 && b <= 20)) {
    return true;
  }
  else {
    return false;
  }
}

Create in1020.java