adplus-dvertising
frame-decoration

Question

Which annotation is used to represent command line input and assigned to correct data type?

a.

@Input

b.

@Variable

c.

@Command Line

d.

@Parameter

Posted under Java Programming

Answer: (d).@Parameter

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which annotation is used to represent command line input and assigned to correct data type?

Similar Questions

Discover Related MCQs

Q. What is the use of @syntax?

Q. What is Recursion in Java?

Q. Which of these data types is used by operating system to manage the Recursion in Java?

Q. Which of these packages contains the exception Stack Overflow in Java?

Q. Which of the following statements are incorrect?

Q. Which of these access specifier must be used for class so that it can be inherited by another subclass?

Q. Which is true about an anonymous inner class?

Q. Which is true about a method-local inner class?

Q. Which statement is true about a static nested class?

Q. Which constructs an anonymous inner class instance?

Q. What allows the programmer to destroy an object x?

Q. Which statement is true?

Q. Which statement is true?

Q. Which statement is true?

Q. Which statement is true?

Q. A class which is declared with the ________ keyword is known as an abstract class in Java.

Q. Abstract class can have constructors and static methods?

Q. What is the syntax of abstract class in java?

Q. A method which is declared as abstract and does not have implementation is known as an _____________?

Q. An abstract class can have a data member, abstract method, method body (non-abstract method), constructor, and even main() method.