Important Java Mcq 1

Which one of the following is not a Java feature?

a) Object-oriented

b) Use of pointers

c) Portable

d) Dynamic and Extensible

Answer:

b) Use of pointers

Explanation:

Pointers store and manage the addresses of dynamically allocated blocks of memory. It is not a Java feature. Java provides an efficient abstraction layer for development without using a pointer in Java. Features of Java Programming are Portable, Architectural Neutral, Object-Oriented, Robust, Secure, Dynamic and Extensible, etc.

Related MCQs

A java exception is an instance of

a. RuntimeException b. Exception c. Error d. Throwable e. NumberFormatException Answer: d. Throwable Explanation: Every exception is represented by an instance of the class Throwable.

A constructor

a. Must have the same name as the class it is declared within. b. fIs used to create objects. c. May be declared private d. (a),

Aniket Malik

Aniket Malik

CERTIFIED TUTOR/TRAINER WITH 300+ REVIEWS

Facing difficulty with

this concept?