1.

What is the use of @syntax?(a) Allows multiple parameters to be passed(b) Allows one to put all your options into a file and pass this file as a parameter(c) Allows one to pass only one parameter(d) Allows one to pass one file containing only one parameterThis question was addressed to me by my school teacher while I was bunking the class.My doubt stems from Command Line Arguments topic in portion Classes and Methods of Java

Answer»

The CORRECT ANSWER is (b) Allows one to put all your OPTIONS into a file and pass this file as a parameter

To elaborate: JCOMMANDER SUPPORTS the @syntax, which allows us to put all our options into a file and pass this file as a parameter.



Discussion

No Comment Found

Related InterviewSolutions