Question: 2. To check if two string variables string1 and string2 refer to the same memory address we use the command 3. The integer type that
2. To check if two string variables string1 and string2 refer to the same memory address we use the command 3. The integer type that could not be promoted to another type is ... 4. The purpose of (int) in the statement: int x = (int) (Math.log(16)); is to 5. In order to read from the user a character value in a single line, we use the command 6. In order to assigning a float value in a short variable, we have to use a casting of type 7. Consider the array: int[] values={75,69,10,15,33,410, 213}; what is the value of the statement: System.out.println(values.length); 8. To know the number of items in the first row in a 2D array variable array2D we use the command 9. Regarding the size of variable type, the necessary condition for automatic type conversion is
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
