Files
N0zoM1z0 e8ea617cb1 Add reviewed priority resources and reproducible examples
Add 23 A0/A1 resources with pinned source reviews and explicit compatibility limits. Reproduce four bounded examples in CI and document one exact Chrome DevTools link-check exception. Refs #6.
2026-10-13 03:09:50 +00:00

17 lines
387 B
Java

public class BranchDemo {
record Pair(int left, int right) {}
static int choose(int value) {
return switch (value) {
case 0 -> 11;
case 1, 2 -> 22;
default -> -1;
};
}
public static void main(String[] args) {
Pair pair = new Pair(2, 3);
System.out.println(choose(pair.left()) + pair.right());
}
}