This may be simple to you people but as i am new to java, so i want know actually what is going on in the following part?
if (args.length > 0) { file =
args is an array of Command Line arguments
When an application is launched, the runtime system passes the command-line arguments to the application's main method via an array of Strings
Where args is an array and if (args.length > 0) is the condition cheking that array is empty or not .
args
if (args.length > 0)