×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

Which of the following checks if the condition is TRUE?

17. Which of the following checks if the condition is TRUE?

  1. void assertEquals(boolean expected,boolean actual)
  2. void assertTrue(boolean condition)
  3. void assertFalse(boolean condition)
  4. void assertNull(Object obj)

Answer: B) void assertTrue(boolean condition)

Explanation:

void assertTrue(boolean condition) checks if the condition is TRUE.

Comments and Discussions!

Load comments ↻






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