Vidyalelo
Ruby Programming · Q102

Basic Syntax in Ruby

Programming · Ruby Programming · question 102

Q102

What is the role of ! at the end of the capitalize method?

A.
It is the syntax for using capitalize method
B.
It modifies the value stored in the variable
Answer
C.
It indicates the termination of string
D.
None of the mentioned

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board