- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
 Review the code below. Which Ruby operator should be used to fill in the blank so that the sort method executes properly?
[5,8,2,6,1,3].sort {|v1,v2| v1 _ v2}

1. =>

2. <==>

3.<=>

4. ||

Posted Date:-2022-09-17 04:17:34


More MCQS Questions and answers

Search