Since I have multiple String cases which should be handled the same way, I tried:
String
switch(str) { // compiler error case \"apple\", \"orange\", \"
Java supports fall-through when you have no break:
break
case "apple": case "orange": case "pieapple": handleFruit(); break;