Home / Programming MCQs / JAVA MCQs / Question
Y
Q. How to compile java code in command prompt?
Explanation:
Type javac filename.java and press enter to compile your code. If there are no errors in your code, the command prompt will take you to the next line.
You must be Logged in to update hint/solution
Which one jump statement is not supported in Java
Unlike C-Arrays, the Java-Arrays have ___.
What is the output of the below Java program with arrays?
When you pass an array to a method, the method receives ________ .
How many reserved keywords are currently defined in the Java language
Switch is more efficient than nested if or if - else in java.
Output of following Java program .
What is the error in this code? byte b = 50; b = b * 50;
To compare the contents of two objects ______ method is used.
Discusssion
Login to discuss.