I am running an external Dragon book compiler that expects file input using
java main.Main < fileInput.txt
My question is: when I run args.length, the return value is 0. Is fileInput.txt an argument? How can I catch it by code?
user4259472
source
share