JAVA test test P1
Java is an object-oriented and class-based programming language. To help you read more interesting knowledge about the Java programming language, the Network Administrator will send you a very interesting multiple choice question on this topic. Please try.
- Question 1: What is the file containing the compiled java source code?
- .java
- .class
- .jav
- .exe
-
- Question 2. What are the components of Java platform?
- first
- 2
- 3
- 4
-
- Question 3. What is Java Virtual Machine?
- Is a component of the Java platform used to read bytecode code in a .class file
- Is a compiled program of java used to compile java source file into bytecode code
- Is the program running for java
- All answers are correct
-
- Question 4. Java runs on any of the following operating systems:
- Microsoft Windows
- Linux
- Sun Solaris OS
- All answers are correct
-
- Question 5. What is API?
- Java source code library
- A library containing built-in software components that provides functionality for the Java program
- The library provides a graphical interface for Java programs
- All is wrong
-
- Question 6. Which of the following features does the Java programming language provide?
- Integrated library
- Application programming interface
- User interface toolkit
- All answers above
-
- Question 7. How many ways to write comments in Java?
- first
- 2
- 3
- 4
-
- Question 8. What is the order of public and static keywords when opening a package?
- public stands before static
- static precedes public
- Any order but usually public standing first
- All is wrong
-
- Question 9. What is the standard declaration statement for main method?
- public static void main (String [] a) {}
- public static int main (String args) {}
- public static main (String [] args) {}
- public static final void main (String [] args) {}
-
- Question 10. Which of the following statements is wrong?
- /** note */
- /* note */
- /* note
- // note
-
5 ★ | 1 Vote
You should read it
- JAVA test on P6
- JAVA test on P4
- Test on JAVA test P5
- JAVA test on P3
- Test on JAVA test P7
- Testing test on JAVA P2
- JAVA P8 test quiz
- Test on JAVA P10 test
- Test on JAVA test on P9
- eQuiz - Multiple choice quiz about JAVA
- eQuiz - Multiple choice test on Java Swing Practice - Part 2
- eQuiz - Quiz on Core Java - Part 2