Examveda

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

C. It indicates the termination of string

D. None of the mentioned

Answer: Option B


This Question Belongs to Ruby Programming >> Basic Syntax In Ruby

Join The Discussion

Related Questions on Basic Syntax in Ruby