If you have commented out correctly, then your code should look like below (where redlines are displayed) and you cannot run this unless these lines are commented in main function or nonstatic functions(start/accel) are uncommented
Thanks for the clarification, SK and it is working as expected with your fix.
Have one more q, please help me with this.
Before the fix,
When I ran the program,
I assume, even though the methods got executed, the console shouldn't display the result for the methods, as associated output commands (println) were commented out.
Non static Function/method(s) will be executed and results will be printed in console only in below cases:
1) Non static method/function(s) are called in MAIN function
2) They are NOT commented out any where in the project (either in MAIN or in child functions)
Note: Even though non static functions are called in MAIN function and if they are commented out at individual level, then no results will be displayed in console.