Question: In a conditional statement, you want to execute the code only if both value are true. Which comparison operator should you use?

  1. ||
  2. &
  3. <=>
  4. &&

Answer: The correct answer of the above question is Option D:&&