What is the correct syntax of an assert statement?

A. assert AssertionError : optionalErrorMessage
B. assert booleanExpression : optionalErrorMessage
C. assert stringExpression : optionalErrorMessage
D. assert booleanExpression = optionalErrorMessage

Answer: B

Computer Science & Information Technology

You might also like to view...

To ensure the environment is correct for your data center resources, what type of system do you use?

A) HVAC B) CFR C) NFPA D) OSHA

Computer Science & Information Technology

Malware is a computer program that's designed to prevent viruses

Indicate whether the statement is true or false

Computer Science & Information Technology