Ruby MCQ set number 00175

1. Which of the following is not a valid library function? a) Puts b) Print c) Gets d) Get AnswerAnswer: d [Reason:] gets is used for taking input from the user. 2. Why is the library function ‘puts’used for? a) Prints whatever is given and print it to the screen b) Prints whatever is given…


This content is for paid premium members only.
You can view complete answer after activation your membership.


Need only one answers. Simply buy single day pass and email. We will send answers for this question.
Login Buy membership