Introduction to Java MCQs Exercise I

Ques 1 Introduction


Java is a.....

A Programming Language
B Markup Language
C Scripting Language
D High Level Language

Java is primarily known as a programming language, but it is also considered a high-level language due to its abstraction from machine code.

Ques 2 Introduction


Which of the following is an incorrect option in Java Programming?

A Java is a Object Oriented Programming Language
B Java is a Portable Language
C Java does not having Multithreading
D Java having Garbage Collectors

Java does support multithreading, which allows concurrent execution of two or more threads for maximum utilization of CPU.

Ques 3 Introduction


________ are used to execute Java Applications?

A JRE
B JDK
C JVM
D All of these

JRE (Java Runtime Environment): Provides the libraries, Java Virtual Machine (JVM), and other components to run applications written in Java.
JDK (Java Development Kit): Includes the JRE along with development tools necessary to compile and debug Java applications.
JVM (Java Virtual Machine): The component of the JRE that actually executes Java bytecode.