Important Java Mcq 1

Which of the following is true about Java?

a. Java is object-oriented and interpreted.

b. Java is efficient and faster than C++.

c. Java is the choice of everyone.

d. Java is not robust.

Answer:

a. Java is object-oriented and interpreted.

Explanation

Java is an object-oriented programming language, which makes use of various classes and objects. Object-oriented languages provide many features like inheritance, polymorphism, classes, objects, etc. Java can be considered an interpreted language because its source code is first compiled into a binary byte code. This byte code runs on the Java Virtual Machine (JVM), which is usually a software-based interpreter.

Related MCQs
Aniket Malik

Aniket Malik

CERTIFIED TUTOR/TRAINER WITH 300+ REVIEWS

Facing difficulty with

this concept?