1.

Which of the following is a valid boolean operator?(a) and(&&)(b) or(||)(c) not(!)(d) All of the mentionedI have been asked this question during an internship interview.Enquiry is from Operators in portion Mathematic Operations and Loops of Ruby

Answer» CORRECT ANSWER is (d) All of the mentioned

For explanation I WOULD say: We have THREE BOOLEAN operators which are and, or, not.


Discussion

No Comment Found

Related InterviewSolutions