// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
public class J7 {
    public static void main(String[] args) {
        String s = "DEF";
        switch(s) {
            case "ABC":
                System.out.println("ABC");
                break;
            case "DEF":
                System.out.println("DEF");
                break;
            default:
                System.out.println("neither");
                break;
        }
    }
}
