1 What was the original name of Java?
- Oak
2 What is the name of the Java mascot?
- Duke
3 What is not true about JavaBeans?
- They're fully compiled to native code.
4 Which is not an official edition?
- BE
5 Which is never true for all possible values of x?
- (x===x)
6 JavaFX is:
- A language for building browser-based content
7 OpenJDK is not:
- An open source tool for running Java in your browser or through Web Start
8 What does the letter "E" do when you create an interface with a generic specification like this: public void interface List(){ }
- "E" is a placeholder for the type.
10 Swing is to AWT as:
- nio is to io
11 Which is not part of the Java EE 6 platform?
- JavaFX
12 The Serialization API was created as:
- A technique for converting objects to a well-defined sequence of bytes
13 Java Web Start is:
- A set of tools for starting up JAR files directly from Web pages
14 Java Hot Spot is:
- A just-in-time compiler that lets the JVM optimize byte code
15 Which platform doesn't run Java out of the box?
- PC
16 What is the difference between an int and an Integer?
- One is a primitive represented with four bytes, and the other is an object.
17 The Collection interface is used:
- To have a standard interface for different ways to store collections of objects
18 Which is not true of a Java exception?
- Exceptions can only jump over three blocks in order to make code easier to debug.
19 The Java sandbox:
- Controls which classes run with the ClassLoader object