RosettaCodeData/Task/Halt-and-catch-fire/Java/halt-and-catch-fire.java

12 lines
297 B
Java
Raw Permalink Normal View History

2023-08-01 14:30:30 -07:00
public final class HaltAndCatchFire {
2026-04-30 12:34:36 -04:00
public static void main(String[] aArgs) {
// Any one of the lines below, when uncommented, will cause a program halt.
// throw new AssertionError("Stop now!");
// System.out.println(0/0);
// Runtime.getRuntime().exit(1);
}
2023-08-01 14:30:30 -07:00
}