Which line inserted in the program causes an AssertionError to be thrown in TestMe.java? I tried all the options , they all work fine , i mean they dont throw any AssertionError.. Please correct me if i am wrong.
I am sorry. I compiled it using -source 1.4 option, but somehow forgot to run using -ea. Now i did it and got the correct answer as i expected. only the first option doesnot throw AssertionError, since assert true is used. All the remaining options throw the Error. Thanks for reminding me..