Which of the following is NOT a valid feature of Java programs?

2019

Which of the following is NOT a valid feature of Java programs?

  1. A.

    Object-oriented

  2. B.

    Architecture-neutral

  3. C.

    Multi-threaded

  4. D.

    Non-portable

Attempted by 469 students.

Show answer & explanation

Correct answer: D

Answer: Non-portable (गैर-पोर्टेबल) is not a valid feature of Java. Reason: Java programs are compiled into platform-independent bytecode that runs on the Java Virtual Machine (JVM). Source code is compiled into bytecode (.class files) rather than native machine code.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Up Lt Grade Assistant Teacher 2025