Mastering Java: The Ultimate Quiz for 'Thinking in Java'

Disable ads (and more) with a membership for a one time $2.99 payment

Prepare for your Java exam with our ultimate quiz based on 'Thinking in Java'. Engage with expertly crafted questions that enhance your learning process. Perfect for Java enthusiasts looking to solidify their knowledge!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


Which version of Java introduced the Java Foundation Classes (JFC), including Swing?

  1. Java 1.0

  2. Java 1.1

  3. Java 2 (JDK 1.2)

  4. Java 3

The correct answer is: Java 2 (JDK 1.2)

The Java Foundation Classes (JFC) were first introduced in Java 2 (JDK 1.2). This means that options A, B, and D are incorrect as they are versions before Java 2. While Java 3 may seem like a reasonable answer, there is no official version of Java known as Java 3. It is important to pay attention to the version numbers and their corresponding features when trying to answer Java-related questions.