0 votes
in Ruby by

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

a. The method executes using "sudo" privileges.

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

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

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

1 Answer

0 votes
by

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

Correct answer is :-  It is a more powerful or destructive version of the method.

Related questions

0 votes
asked Sep 2, 2022 in Ruby by DavidAnderson
0 votes
asked Sep 2, 2022 in Ruby by DavidAnderson
...