Do You Know Java?

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Jaksiboy
J
Jaksiboy
Community Contributor
Quizzes Created: 832 | Total Attempts: 12,139,660
Questions: 10 | Attempts: 58

SettingsSettingsSettings
Do You Know Java? - Quiz

Java is a high-level programming language because it is much closer to human languages and farther from the languages of machine. It is the most widely used programming language. Take this quiz to learn more about Java.


Questions and Answers
  • 1. 

    What is the full meaning of JRE?

    • A.

      Java Runtime Execution

    • B.

      Java Runtime Exception

    • C.

      Java Runtime Environment

    • D.

      None of these

    Correct Answer
    C. Java Runtime Environment
    Explanation
    JRE stands for Java Runtime Environment. It is a software package that provides the necessary runtime environment for executing Java applications. It includes the Java Virtual Machine (JVM), class libraries, and other supporting files. JRE is required to run Java applications on a computer system.

    Rate this question:

  • 2. 

    What kind of language is Java?

    • A.

      Object oriented

    • B.

      System oriented

    • C.

      Procedural oriented

    • D.

      Platform oriented

    Correct Answer
    A. Object oriented
    Explanation
    Java is classified as an object-oriented language because it is designed to organize and structure programs around objects, which are instances of classes. In Java, objects have properties and behaviors, and they interact with each other through methods. This approach allows for code reusability, modularity, and encapsulation. Additionally, Java supports features such as inheritance, polymorphism, and abstraction, which are fundamental principles of object-oriented programming.

    Rate this question:

  • 3. 

    Is Java language 100% object-oriented?

    • A.

      Yes

    • B.

      No

    • C.

      Maybe

    • D.

      Can't Say

    Correct Answer
    B. No
    Explanation
    Java language is not 100% object-oriented because it supports primitive data types, such as int and boolean, which are not objects. Additionally, Java has static methods and variables that belong to the class rather than an instance of the class, which goes against the principles of pure object-oriented programming.

    Rate this question:

  • 4. 

    What is the full meaning of JDK?

    • A.

      Java Development kit

    • B.

      Java Demo kit

    • C.

      Java Deployment Kit

    • D.

      Java Distributed Kit

    Correct Answer
    A. Java Development kit
    Explanation
    JDK stands for Java Development Kit. It is a software development environment used for developing Java applications. It includes a set of tools and libraries that are necessary for writing, testing, and running Java programs. The JDK provides the necessary components, such as a compiler, debugger, and runtime environment, to develop and deploy Java applications. It is widely used by Java developers to create and maintain Java applications.

    Rate this question:

  • 5. 

    Which of the following is an extension of the Java program?

    • A.

      .txt

    • B.

      .doc

    • C.

      .class

    • D.

      .java

    Correct Answer
    D. .java
    Explanation
    The extension ".java" is the correct answer because it is commonly used to denote a Java program file. In Java, source code files are typically saved with a .java extension. This allows the Java compiler to recognize and process the file as a Java program. The other options (.txt, .doc, .class) are not specific to Java programs and are used for different file types or formats.

    Rate this question:

  • 6. 

    Java was developed by which of the following?

    • A.

      Oracle

    • B.

      Sun

    • C.

      Microsoft

    • D.

      Google

    Correct Answer
    B. Sun
    Explanation
    Java was developed by Sun Microsystems. Sun Microsystems was a company that was founded in 1982 and played a significant role in the development of computer technologies. In the mid-1990s, a team of engineers at Sun Microsystems, led by James Gosling, developed the Java programming language. Java was designed to be a platform-independent language that could run on any device or operating system. Sun Microsystems later became a subsidiary of Oracle Corporation in 2010.

    Rate this question:

  • 7. 

    What was Java previously called?

    • A.

      Apple

    • B.

      Java only

    • C.

      Oak

    • D.

      Jdk

    Correct Answer
    C. Oak
    Explanation
    Java was previously called Oak.

    Rate this question:

  • 8. 

    To convert Java language code into output form, which of the following operation(s) is/are needed?

    • A.

      Interpretation

    • B.

      Compilation

    • C.

      Both a and b

    • D.

      None of the above

    Correct Answer
    C. Both a and b
    Explanation
    To convert Java language code into output form, both interpretation and compilation are needed. Interpretation involves executing the code line by line, while compilation involves translating the code into a machine-readable format. Both processes are necessary to ensure that the code is correctly executed and produces the desired output.

    Rate this question:

  • 9. 

    Which of the following application program is required to run java program?

    • A.

      Jdk

    • B.

      Dbk

    • C.

      SDK

    • D.

      None of these

    Correct Answer
    A. Jdk
    Explanation
    The Java Development Kit (jdk) is required to run a Java program. It includes all the necessary tools and libraries needed for compiling, debugging, and executing Java code. The jdk provides the Java Virtual Machine (JVM) which is responsible for running Java programs on different platforms. The other options, dbk and SDK, are not valid choices as they do not refer to the specific program required for running Java programs. Therefore, the correct answer is jdk.

    Rate this question:

  • 10. 

    Who created Java?

    • A.

      James Gosling

    • B.

      Patrick Naughton

    • C.

      Both a and b

    • D.

      None of the above

    Correct Answer
    C. Both a and b
    Explanation
    Both James Gosling and Patrick Naughton are credited as the creators of Java. They, along with a team of developers at Sun Microsystems, developed the programming language in the mid-1990s. James Gosling is often referred to as the "father of Java" as he played a key role in the design and implementation of the language, while Patrick Naughton made significant contributions to the development of the original Java compiler and runtime system. Therefore, the correct answer is that both James Gosling and Patrick Naughton created Java.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 20, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Oct 31, 2017
    Quiz Created by
    Jaksiboy
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.