1.

first_name,Last_name=gets.chomp,gets.chomp is the correct way to get the input from the user.(a) True(b) FalseThis question was addressed to me by my college professor while I was bunking the class.This question is from Library Functions topic in portion Ruby Basics of Ruby

Answer» RIGHT choice is (a) True

To explain: It will TAKE the input from user and STORE its value in the specified VARIABLES.


Discussion

No Comment Found

Related InterviewSolutions