MCQs
Total Questions : 105
| Page 7 of 11 pages
Answer: Option A. -> Math
Math class contains all the floating point functions that are used for geometry, trignometry,
Answer: Option A. -> Variables declared as final occupy memory.
None.
Answer: Option A. -> Array()
None.
Answer: Option C. -> removeLast()
removeLast() and removeFirst() methods are used to remove elements in end and
beginning of a linked list.
Answer: Option D. -> keySet()
keySet() methods is used to get a set containing all the keys used in a map. This
method provides set view of the keys in the invoking map.
Answer: Option D. -> binaryserach()
binaryserach() method uses binary search to find a specified value. This method must
be applied to sorted arrays.
Answer: Option D. -> addElement()
addElement() is used to add data in the vector, to obtain the data we use elementAt() and
to first and last element we use firstElement() and lastElement() respectively.
Answer: Option D. -> getProperty()
None.
Answer: Option A. -> get()
None.
Answer: Option A. -> size()
None.