COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of this method is given parameter via command line arguments?
A
recursive() method
B
main()
C
Any method
D
System defined methods
Explanation: 

Detailed explanation-1: -Which of this method is given parameter via command line arguments? Explanation: Only main() method can be given parameters via using command line arguments.

Detailed explanation-2: -8) The type of Arguments the MAIN method accepts is . Explanation: Yes. The main method accepts String array data.

Detailed explanation-3: -Command line arguments are passed to the main function. We should pass command line arguments when the program is invoked or executed. Command line arguments control the program from outside as we pass the arguments through the command line.

Detailed explanation-4: -A Java application can accept any number of arguments from the command line.

There is 1 question to complete.