i have programming assignment which is to make UDP and TCP client
now i already finished UDP ,TCP client and GUI now i want to make the command line class
So the assignment tell me that
"CLIENT: The client should read input from the command line: • -x <number>, where number is a 32-bit unsigned integer • -t udp or tcp o for tcp, the client opens a TCP connection to the server o for udp, the client sends the data to the server using UDP • -s host name of the server (ex: dmx.cs.colostate.edu) • -p the port being used by the server If any of the above command line arguments are missing, the program must print an error message and exit. The command arguments may appear in any order"
so what do i need to do to assign any value that appear in any order?
ArrayList<>? or any suggestion please help