Difference between setting variables through methods and setting actual variable [closed]
I'm not experienced in programming, but I was wondering what the difference was between setting a variable through a method. Ex: void setShowFPS(boolean b){ this.showFps = b; } vs. just calling the variable showFps = false;
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.