Ruby was written in C language.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. Which of the following is not type of operator in ruby?
Q. Which keyword is used to begin the exception handling block in Ruby?
Q. What is the method used to check if an object is an instance of a particular class in Ruby?
Q. What is the syntax to open file in ruby?
Q. What is the main advantage of using encapsulation in Ruby?
Q. What is the purpose of the Kernel#autoload method in Ruby?
Q. Which of the following is the correct way to define a constant in Ruby?
Q. Each element in an array is associated with _______.
Q. Which keyword is used to define a class in Ruby?
Q. What is the output of the given code? a=5 b=15 while b>a puts a*(b-a) while a>b a+=1 b-=1 end end
Discusssion
Login to discuss.