Is it possible to change the return value of a method in this case? [closed]

assert is a checking instruction, not a assignment one.

You can’t get a new value from getValue() without using a member variable.

Leave a Comment