public class Assert1{ public static void main(String[] argumendid){ System.out.println("1"); assert true; System.out.println("2"); assert false; System.out.println("3"); } } /* C:\Documents and Settings\stud\jaagup>javac -source 1.4 Assert1.java C:\Documents and Settings\stud\jaagup>java Assert1 1 2 3 C:\Documents and Settings\stud\jaagup>java -enableassertions Assert1 1 2 Exception in thread "main" java.lang.AssertionError at Assert1.main(Assert1.java:6) */