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.
Latest Answers