Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /home/virtwww/w_code-sampc3e_56a7b680/http/includes/common.inc).

Simple conditions of switch/case statements in Java

String str;
int monitorInchSize = 24;
switch (monitorInchSize) {
    case 15:
        str = "too small";
        break;
    case 16: case 17: case 18:
        str = "good for the past decade";
        break;
    case 19: case 20: case 21:
    case 22: case 23:
        str = "for office work";
        break;
    case 24: case 25: case 26:
    case 27:
        str = "great choice";
        break;
    default:
        str = "";
}
//str is "great choice"