Home / CSE MCQs / Ruby Programming MCQs :: Discussion

Discussion :: Ruby Programming MCQs

  1. What is the role of ! at the end of the capitalize method?
  2. 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

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    It is used for modifying the variable.


Be The First To Comment