void (String r2) { switch (r2) { case "first": System.out.println("1"); break; case "second": System.out.println("2"); case "third": System.out.println("3"); break; case null, default: System.out.println("default null"); } }