Ques 1 Introduction
Java is a.....
a) Programming Language
b) Markup Language
c) Scripting Language
d) High Level Language
a and d is the correct option
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
c is the correct option
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
c is the correct option
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.