MCQOPTIONS
Saved Bookmarks
| 1. |
What does the fail() method do in JUnit? |
| A. | Throws an assertion error unconditionally |
| B. | Calls the default constructor |
| C. | Outputs the message “Fail” to the console |
| D. | Pauses the test for 1 second |
| Answer» C. Outputs the message ‚Äö√Ñ√∂‚àö√ë‚àö‚à´Fail‚Äö√Ñ√∂‚àö√ë‚àöœÄ to the console | |