Multiple choice technology

Which of these products always produces pure Java output?

  1. Recent Netscape and Internet Explorer browsers which include JavaScript

  2. The Java compiler from Sun's Java Development Kit

  3. Borland's C++ compiler

  4. Microsoft's Visual J++

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Sun's Java compiler (javac) produces pure Java bytecode. Some other tools like Microsoft's Visual J++ introduced platform-specific extensions that violated Java's portability principle.