When Ruby methods add an exclamation point at the end of their name (such as sort!), what does it typically indicate?

Question:When Ruby methods add an exclamation point at the end of their name (such as sort!), what does it typically indicate?

1.The method executes using

2.Any ending line return will be omitted from the result.

3.The method will ignore exceptions that occur during execution.

4.It is a more powerful or destructive version of the method.


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!