Test Status
      COREJAVARANDOMTEST
      (A) An empty memory space is returned so that the developers can utilize it.
      (B) void is not supported in Java
      (C) void returns no data type.
      (D) null
      (A) By invoking the free method on the object.
      (B) By calling system.gc() method.
      (C) By setting all references to the object to new values (say null).
      (D) Garbage collection cannot be forced. The programmer cannot force the JVM to free the memory used by an object.
      (A) If a Java class contains assert statements, then it must be compiled with -1.4 option.
      (B) When a program having assertions is run, -assertion option must be specified, otherwise the assertions get ignored.
      (C) A possible syntax of assert statement is assert logical_expression If logical_expression evaluates to true, the program generates an AssertionError.
      (D) The program terminates on its first AssertionError.
      (A) float
      (B) double
      (C) Float
      (D) Double
      (A) Calling the notify method on an object.
      (B) Calling the start method on another Thread object.
      (C) Calling a yield method.
      (D) Calling wait method on an object.
      (A) number_1
      (B) number_a
      (C) $1234
      (D) All of the above.
      (A) "odd" will always be output.
      (B) "even" will always be output.
      (C) Compilation fails.
      (D) "odd" will be output for odd values of x, and "even" for even values.
      (A) data has the value of true
      (B) The code will not compile.
      (C) data has the value of false
      (D) data has the value of null
      (A) void m() throws IOException{}
      (B) void m() throw IOException{}
      (C) void m(void) throws IOException{}
      (D) void m() {} throws IOException
      (A) The default char data type is a space( â?? â?? ) character.
      (B) The default integer data type is â??longâ?? and real data type is â??floatâ??
      (C) The default integer data type is â??intâ?? and real data type is â??doubleâ??
      (D) The default integer data type is â??intâ?? and real data type is â??floatâ??
      (A) The number of bytes is compiler dependent.
      (B) 2
      (C) 4
      (D) 8