1.

The .length method is used to check number of characters.(a) True(b) FalseThe question was asked during an interview.The above asked question is from String Methods in section Ruby Basics of Ruby

Answer» RIGHT answer is (b) False

The explanation is: The .length method is used to check number of characters, SPACES and EVEN symbols.


Discussion

No Comment Found

Related InterviewSolutions