1 .1 .1 1. The name of a Java source file (d) (a) must be the same as the class it defines, ignoring case (b) must use the extension .class (c) has no restrictions (d) must be the same as the class it defines, respecting case 2. Which method must exist in every Java application? (a) (a) main (b) paint (c) init (d) begin 1.1.3 1. Given the following code, how many tokens will be output? (b) StringTokenizer st = new StringTokenizer("this is a test"); while (st.hasMoreTokens()) { stdOut.println(st.nextToken() ); } (a) 1 (b) 4 (c) 0 (d) 3 2. Classes from which of the following packages are implicitly imported into every Java program? (a) java.awt (d) (b) java.io (c) java.util (d) java.lang 3. What is the name of the wrapper class for the type int? (d) (a) integer (b) Int (c) INT (d) Integer 4. Classes from which of the following packages are implicitly imported into every Java program? (a) java.util (c) (b) java.awt (c) java.lang (d) java.io 5. The term wrapper classes refers to (a) (a) a collection of Java classes that "wrap" Java primitive types (b) the Java classes that contain at least two data fields (c) the Java classes that contain themselves (d) a collection of Java classes that contain other Java classes 6. What will be output caused by the execution of the following Java program segment? (c) String name = "Elvis"; System.out.print(name + "was here"); (a) name + was here (b) Elvis was here (c) Elviswas here (d) name was here 1.1.4 1. What will be output when the following Java program segment is executed? (c) int x = 5; int y = 2; System.out.println(x + y); (a) 5 2 (b) 5+2 (c) 7 (d) 52 2. A difference between the methods print and println of the class java.io....