InterviewSolution
Saved Bookmarks
| 1. |
Which annotation is used to represent command line input and assigned to correct data type?(a) @Input(b) @Variable(c) @Command Line(d) @ParameterI have been asked this question during an interview for a job.My question is taken from Command Line Arguments in section Classes and Methods of Java |
|
Answer» The CORRECT option is (d) @Parameter |
|