Ruby MCQ set number 00165

1. Which of the following is a valid assignment operator? a) += b) -= c) *= d) All of the mentioned AnswerAnswer: d [Reason:] Assignment operators are +=, -=, *=, /=, **=. 2. What does the **= assignment operator do? a) Multiplies the value twice b) It is used as exponent like 2**3=8 c) It…


This content is for paid premium members only.
You can view complete answer after activation your membership.


Need only one answers. Simply buy single day pass and email. We will send answers for this question.
Login Buy membership