Examveda

What is the use of .capitalize method?

A. It capitalizes the entire string

B. It capitalize on the first letter of the string

C. It capitalize the strings which are in small case

D. All 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