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?
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
Question 4. Java runs on any of the following operating systems:
Question 5. What is API?
A library containing built-in software components that provides functionality for the Java program
The library provides a graphical interface for Java programs
Question 6. Which of the following features does the Java programming language provide?
Application programming interface
Question 7. How many ways to write comments in Java?
Question 8. What is the order of public and static keywords when opening a package?
public stands before static
Any order but usually public standing first
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?