In JDK 1.5, analyze the following code.
```
Line 1: Integer[] intArray = {1, 2, 3};
Line 2: int i = intArray[0] + intArray[1];
Line 3: int j = i + intArray[2];
Line 4: double d = intArray[0];```
a. It is OK to assign 1, 2, 3 to an array of Integer objects in JDK 1.5.
b. It is OK to automatically convert an Integer object to an int value in Line 2.
c. It is OK to mix an int value with an Integer object in an expression in Line 3.
d. Line 4 is OK. An int value from intArray[0] object is assigned to a double variable d.
abcd
You might also like to view...
Which type of member function may only be called from a function that is a member of the same class?
a. public b. private c. global d. local e. None of these
Which of the following frames can be thought of as the hotspot for a button?
A. Over B. Up C. Hit D. Down
In order to resize a table column, you must place the mouse over the first cell in the column and then ___________ when you see a black arrow to select the entire column.
Fill in the blank(s) with the appropriate word(s).
Public domain software is not copyrighted; instead, the ownership rights to the program have been donated to the public domain.
Answer the following statement true (T) or false (F)