nerdexam
Oracle

1Z0-811 · Question #15

Identify two features of Java.

The correct answer is B. platform independent. Platform independence is Java's defining feature: Java source code compiles to bytecode that runs on the Java Virtual Machine (JVM), which is available on virtually every operating system - making the same program runnable on Windows, macOS, or Linux without recompilation…

Java Basics

Question

Identify two features of Java.

Options

  • Aarchitecture dependent
  • Bplatform independent
  • Csingle threaded
  • Drobust

How the community answered

(50 responses)
  • B
    94% (47)
  • C
    4% (2)
  • D
    2% (1)

Explanation

Platform independence is Java's defining feature: Java source code compiles to bytecode that runs on the Java Virtual Machine (JVM), which is available on virtually every operating system - making the same program runnable on Windows, macOS, or Linux without recompilation ("write once, run anywhere"). Note that D (robust) is also a correct feature of Java, as it enforces strong type checking, exception handling, and automatic memory management; the question asks for two features, so B and D together form the complete answer.

Why the distractors are wrong:

  • A (architecture dependent) is the opposite of Java's reality - Java is architecture independent, which is the whole point of the JVM abstraction.
  • C (single threaded) is false - Java has built-in multithreading support via the Thread class and java.util.concurrent package.

Memory tip: Think of Java's slogan - "Write Once, Run Anywhere" - to lock in platform independence (B), and remember that robustness (D) comes from Java's strict compile-time checks and garbage collection. If a choice says Java is dependent or single, it's wrong.

Topics

#Platform Independence#Java Features#JVM#WORA

Community Discussion

No community discussion yet for this question.

Full 1Z0-811 Practice