MCQs
Total Questions : 19
| Page 2 of 2 pages
Answer: Option B. -> Process
Process
Answer: Option D. -> System
Standard output variable 'out' is defined in System class. out is usually used in print statement i:e System.out.print()
Answer: Option C. -> currentTimeMillis()
currentTimeMillis()
Answer: Option D. -> System
System class holds a collection of static methods and variables. The standard input, output and error output of java run time are stored in the in, out and err variables of System class.
Answer: Option A. -> lang
lang
Answer: Option A. -> Integer
Integer
Answer: Option A. -> isInfinite()
isinfinite() method returns true is the value being tested is infinitely large or small in magnitude.
Answer: Option D. -> Number
Number is an abstract class containing subclasses Double, Float, Byte, Short, Integer and Long.
Answer: Option C. -> int hashCode()
int hashCode()