For the String class, what's the difference between "#slice" and "#slice!"?
Correct Answer: "#slice" returns a new object, "#slice!" destructively updates — mutates — the object's value.
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Ruby On Rails MCQ Questions