Wednesday, July 20, 2011

What is a method side effect?

I'm doing a few questions for this Java course that I'm taking and I'm having a hard time understanding what a side effect is. I know it's any observable modification to data outside the method, but I can't grasp my head around the idea. What would be a clear example of method side effects?

No comments:

Post a Comment