This content has been marked as final. Show 3 replies
There's a thing called "scope". It means that if you for example declare something in a method, it's in the method's local scope. You can't refer to it in another method (unless you pass it there).
Your args String array is accessible only in the main method, unless you explicitly pass it to your commandsave method.
Go through some basic tutorials before trying something more advanced..
canu provide link