Posted by: Pdfprep
Post Date: January 28, 2021
Given two expressions var1 and var2.
What are two valid ways to return the logical AND of the two expressions and ensure it is data type Boolean? Choose 2 answers:
A . Boolean(var1 && var2)
B . var1 && var2
C . var1.toBoolean() && var2toBoolean()
D . Boolean(var1) && Boolean(var2)
Answer: A,D