文档介绍:Given: Integer i = new Integer (42);Long l = new Long (42);Double d = new Double (); Which two expressions evaluate to True?A. (i == 1)B. (i == d)C. (d == 1)D. ( (l))E. ( (l))F. ( (42)) G. none of aboveAnswer:           2. Given: public class Foo {    public static void main (String [] args)  {        StringBuffer a = new StringBuffer("A");        StringBuffer b = new StringBuffer ("B");        operate (a,b);        (a + "," +b);    }    static void operate(StringBuffer x, StringBuffer y) {        (y);        y = x;    }}What is the result? A. The piles and prints “A,B”.B. The piles and prints “A,A”.C. The piles and prints “B,B”.D. The piles and prints “AB,B”.E. The piles and prints “AB,AB”.F. The code does pile because “+” cannot be overloaded for StringBuffer. Answer:          :class BaseClass {    private float x =  ;    protected float getVar() {return x;}}class Subclass extends BaseClass {    private float x = ;    //insert here}Which two are valid examples of method overriding?A. float getVar() { return x;}B. public float getVar() { return x;}C. public double getVar() { return x;}D. protected float getVar() { return x;}E. public float getVar(float f) { return f;}Answer:        4. Which of the following are methods of the Runnable interfaceA) runB) startC) yieldD) stopAnswer:             5. Which of the f