V
Q. Among the following which operator has highest Precedence?
:: has highest Precedence in ruby.
You must be Logged in to update hint/solution
Q. What is the purpose of the drop_while method in Ruby enumerators?
Q. How do you open a file in Ruby in write mode, creating it if it does not exist?
Q. What is the output of the given code? a=5 b=15 while a&&b puts a+b end
Q. What is the sequence of ruby strings?
Q. What is the sequence of ruby strings?
Q. What will be the output of the given code?
Q. What is the output of the given code? m= 0 loop do m += 1 print m break if m == 10 end
Discusssion
Login to discuss.