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
I got this question by my school principal while I was bunking the class.
I need to ask this question from Formatting String Methods topic in division Ruby Basics of Ruby