Viewing a single comment thread. View all comments

AndroChromie t1_j2f3fdo wrote

A method can either do a function by the orders given from the caller and end or it can do a function that change a variable that can be returned to the caller.

Method not returning: "Open a box of eggs and smash them"....Done. The End.

Method returning: "Open a box of eggs and give one to me"...Here I'm returning one egg.

1