I'm executing the "Dragon book" front-end compiler, which expects a file input using
java main.Main < fileInput.txt
My question is: when I run args.length, the returned value is 0. Isn't fileInput.txt considered an argument? How could I catch it on code?