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

12 lines
277 B
Java
Raw Permalink Normal View History

2023-08-01 14:30:30 -07:00
public final class HaltAndCatchFire {
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);
}
}