What is the argument type of main() method?

Answer Posted / ranganathkini

The argument is a String[] which contains the command line
parameters passed by the user while launching it.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is floating data type?

541


take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).

1535


What is the difference between path and classpath variables?

533


If you are given the name of the function at run time how will you invoke the function?

690


What do you understand by access specifiers in Java?

587






What is string variable?

571


What is role of void keyword in declaring functions?

580


What is the purpose of garbage collection in java? When is it used?

543


Does java linked list allow duplicates?

559


What are the supported platforms by java programming language?

573


What are the five major types of reference sources?

543


What is public static void main?

571


What is static synchronization?

580


Explain static nested classes ?

599


How will you invoke any external process in java?

606