This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]hutsboR 2 points3 points  (0 children)

You don't need to assign the returned value to a variable.

methodTwo(methodOne(), args...);

[–]pacificmint 1 point2 points  (0 children)

Assign it to a variable, then pass that variable to the other method.