208k views
2 votes
Are pieces of information that are sent into, or passed to, a method, usually because the method requires the information to perform its task or carry out its purpose.

User Abish R
by
7.0k points

1 Answer

6 votes
Arguments are the pieces of information that is send to a method as it require information to do the task and carry its purpose. These command line arguments are passed to program while it is running. It is a must to run the program with at least one argument from command prompt.
User Christiana
by
6.2k points