Question 1
Topic: What Is Java?
Skill tested: Relates Java platform characteristics to cross-platform application deployment.
A company needs to distribute a small inventory application to offices that use different operating systems. The team wants to compile the application once and avoid maintaining a separate native executable for each operating system. Each office can install compatible Java runtime software, but users should not need the development tools. Which approach best meets these requirements?
Java source is compiled into bytecode, which a compatible Java runtime executes on its platform. This allows the same compiled application to run across supported operating systems without shipping the JDK to users. Native executables in A are generally platform-specific. C unnecessarily requires users to compile source, and D incorrectly claims that bytecode runs directly on the processor without a runtime.