public static void main(String[] args)
This array is the mechanism through which the runtime system passes information to your application. Each String in the array is called a command-line argument. Command-line arguments let users affect the operation of the application without recompiling it. For example, a sorting program might allow the user to specify that the data be sorted in descending order with this command-line argument:
-descending
getting curious about it, i wrote this:
i wsnt expecting this:
C:\javas>java TesteOrdenar -descending
a
b
c
How, in the end, does it works?
TiA