A primitive or object can be checked to be equal by calling ____

15. A primitive or object can be checked to be equal by calling ____.

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

Answer: A) void assertEquals(boolean expected,boolean actual)

Explanation:

A primitive object can be checked to be equal by calling void assertEquals(boolean expected, boolean actual).

Comments and Discussions!

Load comments ↻






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