Beginner Ruby
Q30 / 100

Which operator checks for equality of value in Ruby?

Correct! Well done.

Incorrect.

The correct answer is B) ==

B

Correct Answer

==

Explanation

"==" checks if two objects have equal values; "=" is assignment, and "===" is used for case equality (often in case/when).

Progress
30/100