Miller777
Level 21
Main method. How to pass file names in main() parameters?
Found in one of the tasks (not on Javarush): There is a task - a small program in Java. One of the conditions: launching the application via public static void main(String[] args), args[] parameters: input data file, file for recording the response. I can’t figure out how to pass file names to args[]: input.txt, jutput.txt. Please tell me, if possible, with an example.
GO TO FULL VERSION