I'm trying to understand ternary operators and don't see an example with return statements.
return (next == null) ? current : reversing(current,next);
How would you write that without the ternary operator? Is it just:
if (next == null) {
} else {
return (current,next);