InterviewSolution
Saved Bookmarks
| 1. |
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 mentionedI 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 |
|
Answer» The CORRECT OPTION is (B) It MODIFIES the value STORED in the variable |
|