2.
Java programs are compiled into:
3.
Which keyword is used to create an object?
4.
Which keyword is used to define a constant in Java?
5.
Which of the following is used to print output in Java?
6.
Which operator is used to compare two values?
7.
Which statement is used to make a decision in Java?
8.
What is the correct syntax of the main method ?
9.
Which company originally developed Java?
10.
Which command compiles a Java program?
11.
Which keyword is used to inherit a class?
12.
Which keyword is used to return a value from a method?
13.
Which method is the entry point of a java program?
14.
Which command runs a compiled Java program?
15.
Java was first released in which year?
16.
Which keyword is used to define a class in java?
17.
Which of the following is NOT a Java primitive data type?
18.
Which symbol is used for single-line comments in Java?
19.
What is the size of int in Java?
20.
Which operator is used for addition?