mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
15 lines
317 B
Java
15 lines
317 B
Java
package test;
|
|
|
|
public class Test1 {
|
|
void test(){
|
|
String s = "sample";
|
|
switch (s) {
|
|
<selection>case "one" -> {
|
|
System.out.println("one");
|
|
System.out.println("two");
|
|
}</selection>
|
|
default -> System.out.println();
|
|
}
|
|
}
|
|
}
|