JAVA test test P1

  1. Question 1: What is the file containing the compiled java source code?
    1. .java
    2. .class
    3. .jav
    4. .exe
  2. Question 2. What are the components of Java platform?
    1. first
    2. 2
    3. 3
    4. 4
  3. Question 3. What is Java Virtual Machine?
    1. Is a component of the Java platform used to read bytecode code in a .class file
    2. Is a compiled program of java used to compile java source file into bytecode code
    3. Is the program running for java
    4. All answers are correct
  4. Question 4. Java runs on any of the following operating systems:
    1. Microsoft Windows
    2. Linux
    3. Sun Solaris OS
    4. All answers are correct
  5. Question 5. What is API?
    1. Java source code library
    2. A library containing built-in software components that provides functionality for the Java program
    3. The library provides a graphical interface for Java programs
    4. All is wrong
  6. Question 6. Which of the following features does the Java programming language provide?
    1. Integrated library
    2. Application programming interface
    3. User interface toolkit
    4. All answers above
  7. Question 7. How many ways to write comments in Java?
    1. first
    2. 2
    3. 3
    4. 4
  8. Question 8. What is the order of public and static keywords when opening a package?
    1. public stands before static
    2. static precedes public
    3. Any order but usually public standing first
    4. All is wrong
  9. Question 9. What is the standard declaration statement for main method?
    1. public static void main (String [] a) {}
    2. public static int main (String args) {}
    3. public static main (String [] args) {}
    4. public static final void main (String [] args) {}
  10. Question 10. Which of the following statements is wrong?
    1. /** note */
    2. /* note */
    3. /* note
    4. // note
5 ★ | 1 Vote

May be interested

  • Test on JAVA test on P9Test on JAVA test on P9
    unlike most common programming languages, instead of compiling the source code into machine code or interpreting source code when running, java is designed to compile the source code into bytecode, then bytecode will be run by the runtime environment. . to help you better understand this programming language, the following quiz of network administrator will give you lots of useful knowledge.
  • Get familiar with NetBeans Java IDEGet familiar with NetBeans Java IDE
    in the following article, we will introduce you the most basic features of netbeans ide through a small test, which is to create the 'hello world' java application. and when finished, you will know the general knowledge and process when programming applications in ide ...
  • Testing test on JAVA P2Testing test on JAVA P2
    multiple choice questions on java programming help you test your basic knowledge of this programming language. the set of questions includes 10 sentences to try.
  • JAVA P8 test quizJAVA P8 test quiz
    if you are interested in learning about the java programming language, the following quiz of network administrator will provide you with a lot of useful knowledge for your learning.
  • Basic Java syntaxBasic Java syntax
    a java program can be defined as a collection of objects, communicating through calling each other's procedures. now we will look at the class, object, procedure and instance variable / instance variable to consider their meaning.
  • eQuiz - Multiple choice test on Java Swing PracticeeQuiz - Multiple choice test on Java Swing Practice
    welcome to the test series of tipsmake.com with topics related to the fields of information technology. and this time we will continue with the java swing practice test, a total of 13 questions will be answered with no time to answer each sentence. there will be some questions with many different answer options
  • What is JAVA file? How to open, edit and convert JAVA filesWhat is JAVA file?  How to open, edit and convert JAVA files
    a file with a .java extension is (or sometimes also used in .jav format) is a java source file written in the java programming language.
  • eQuiz - Multiple choice quiz about JAVAeQuiz - Multiple choice quiz about JAVA
    following are multiple-choice questions related to java programming language, there will be 23 questions in total with no answer for each time. let's get started!
  • Download and install Java on the computerDownload and install Java on the computer
    to program java on your computer, you need to install the java environment, this tutorial will show you how to download and install java on your computer.
  • Basic Java exercises, with sample decodingBasic Java exercises, with sample decoding
    to serve your java learning needs, tipsmake.com has synthesized some java exercises from many sources, including sample code (for some articles). hopefully it can be helpful to learn your java programming language.