The question and and choices: Q 23. Which of the following statements will be part of the output if this program is executed as: $ javaTest hello (Note: Please click on 'Exhibit' button to see the code/information.) 1.hello 2.Test 3.alphabeta 4.done 5.None of the above
And the answer: The correct answer is option 1. The assertion will fail, therefore AssertionError occurs and arg (hello) is printed on console. I thought you'd have to enable assertion specifically to get answer number 1. Therefore the answer should be number 4 since assertion is not enabled when running this class. Any thought?