4th December 2019


What is the argument in Java?

Terms: actual argument, argument, actual parameter, parameter. The values that are passed to a method are called actual arguments in the Java specification. However, it is very common for them to be called just arguments, actual parameters, or just plain parameters.

What do you mean by command line argument in Java?

Command line argument in Java. The command line argument is the argument passed to a program at the time when you run it. To access the command-line argument inside a java program is quite easy, they are stored as string in String array passed to the args parameter of main() method.

What is meant by parameter in Java?

In java, there are two types of parameters, implicit parameters and explicit parameters. Explicit parameters are the arguments passed into a method. The implicit parameter of a method is the instance that the method is called from. Arguments are simply one of the two types of parameters.
Write Your Answer


86% people found this answer useful, click to cast your vote.

4.3 / 5 based on 3 votes.


Press Ctrl + D to add this site to your favorites!