Test Status
      COREJAVARANDOMTEST
      (A) interest = 3929.92
      (B) interest = (Float)3929.92
      (C) interest = 3929.92 (float)
      (D) interest = 3929.92f
      (A) Arrays in Java are essentially objects.
      (B) It is not possible to assign one array to another. Individual elements of array can however be assigned
      (C) Array elements are indexed from 1 to size of array.
      (D) If a method tries to access an array element beyond its range, a compile warning is generated.
      (A) The member variable called size
      (B) The member variable called length
      (C) The method size() returns the number of characters.
      (D) The method length() returns the number of characters.
      (A) The program does not compile as k is being read without being initialized.
      (B) The program does not compile because of the statement k = j = i = 1;
      (C) The program compiles and runs printing 1.
      (D) The program compiles and runs printing 2.
      (A) package payroll;package admindept;
      (B) package payroll.admindept.Sample;
      (C) package payroll.admindept;
      (D) import payroll.admindept.*
      (A) void m() throws IOException{}
      (B) void m() throw IOException{}
      (C) void m(void) throws IOException{}
      (D) void m() {} throws IOException
      (A) Java provides two operators to do left shift - << and <<<.
      (B) >> is the zero fill right shift operator.
      (C) >>> is the signed right shift operator.
      (D) For positive numbers, results of operators >> and >>> are same.