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?
- A.
Object-oriented
- B.
Architecture-neutral
- C.
Multi-threaded
- 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.