Relative Content

Tag Archive for javaif-statementexpression

How to make this method always return a non-negative value?

I’ve just received results from my first test in my second week of Java programming in college.
This question I knew I was going to get incorrect (aaaand I did) and was wondering if someone could please explain the answer and why/how that is the case?