NEW
Font size
Worksheetsjava - intro
Total questions: 11
Worksheet time: 5mins
Expand JVM
Java Virtual Mean
Java Virtual Machine
Java Virtualization Machine
Java Virtual Median
Expand JIT
Just InTake compiler
Just In Time compiler
Java InTime compiler
Java InTake compiler
Compilation statement in java
java filename
javac filename
java filename.java
javac filename.java
Which statement is used to run the java program?
javac filenemae.java
java filename
javac filename
java filename.java
java compiler converts the java file into _________ file.
.jvm
.class
.obj
.java
.class file of any java program can run on any machine. Is it true or false
true
false
WHICH OF THE FOLLOWING STATEMENTS ARE TRUE?
JVM resides on RAM
.class file can run on any platform
Java is platform independent
all the above
public static void main(String args[]). In this statement what is args[]?
name of a variable
Array variable which is of string type
variable
string variable
Which of the following is true?
public static void main(String args[])
public static void main(String a[])
public static void main(String arg[])
All the above
Reason for declaring main() as static.
to use static variable
to use static methods inside main()
Need not to create obj for accessing members of main()
None of the above
When command line arguments are passed to the main()?
While declaring method
During Compile time of the program
During Runtime of the program
When calling main()
