1.

Ruby does not support ++ operator, it only supports += operator.(a) True(b) FalseThe question was asked by my school principal while I was bunking the class.My question comes from Assignment Operators topic in chapter Mathematic Operations and Loops of Ruby

Answer»

The CORRECT answer is (a) True

Easiest EXPLANATION: Ruby does not support ++ or — operator. It only supports += or -= operator.



Discussion

No Comment Found

Related InterviewSolutions