-
.java
-
.class
-
.jav
-
.exe
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?
-
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
-
You've just finished reading the article "JAVA test test P1" edited by the TipsMake team. You can save java-test-test-p1.pdf to your computer here to read later or print it out. We hope this article has provided you with many useful tech tips and tricks. You can search for similar articles on tips and guides. Thank you for reading and for following us regularly.