Crossover for Work Interview Question

switch with string in java 7