Which of the following checks if the condition is FALSE?

18. Which of the following checks if the condition is FALSE?

  1. void assertNotNull(Object obj)
  2. void assertTrue(boolean condition)
  3. void assertFalse(boolean condition)
  4. void assertNull(Object obj)

Answer: C) void assertFalse(boolean condition)

Explanation:

void assertFalse(boolean condition) checks if the condition is FALSE.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.