1. public class Test { 2. public static void main(String[] args) { 3. int x = 0; 4. assert (x > 0) ? “assertion failed” : “assertion passed”; 5. System.out.println(“Finished”); 6. } 7. }
Show comments for this question (1) Add comments Link to this question