Question
public static void main(String args[])
{
//
}
a.
Passing arguments at compile time
b.
Passing arguments at run time
c.
Counting number of words
d.
Nothing
Posted under Java Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. String args[] in main method are used for? public static void main(String args[]) { // }
Similar Questions
Discover Related MCQs
Q. Choose a multiline comment in Java language below?
View solution
Q. Choose a Single Line Comment in Java Language below?
View solution
Q. What is the use of Access modifier "pubic" in Java language?
View solution
Q. In standalone Java applications, which method is mandatory?
View solution
Q. What is the need to mention "static" before main method?
View solution
Q. All methods and variables in Java language are kept inside a?
View solution
Q. A function in C language is similar to what in Java language?
View solution
Q. Every statement in Java language should end with a?
View solution
Q. What is a Java Editor?
View solution
Q. What is the command used to Run a Java program form Command Line or Command Prompt or CMD?
View solution
Q. What is the Java command used to compile a java program from Command Line or Command Prompt or CMD?
View solution
Q. What is Ahead of Time Compiler in Java?
View solution
Q. What is LTS mentioned along with Java Version names like Java SE 11 LTS?
View solution
Q. What is the Java distribution type used to build Web Apps in Java?
View solution
Q. What are the main Distribution types of Java Software?
View solution
Q. What happens in the absence of JIT Compiler in Java?
View solution
Q. Choose the correct statement about Java?
View solution
Q. What is JIT in Java?
View solution
Q. What is Portability offered by Java language?
View solution
Q. When was first Version of Java i.e Java 1.0 was released?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Java Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!