retagged by
1,236 views
2 votes
2 votes

Match the following with respect to java.util.$\ast$ class methods :

$\begin{array}{clcl}  \text{(a)} & \text{Bit Set} & \text{(i)} & \text{Time zone getTimezone()} \\  \text{(b)}& \text{Calender} & \text{(ii) }& \text{int hashcode()} \\ \text{(c)} & \text{Time zone} & \text{(iii)} & \text{ int nextInt()} \\   \text{(d)} & \text{Random} & \text{(iv)}& \text{Void setID(String tzName)}  \\  \end{array} $

  1. $\text{(a)-(ii), (b)-(i), (c)-(iv), (d)-(iii)}$
  2. $\text{(a)-(iii), (b)-(iv), (c)-(i), (d)-(ii)}$
  3. $\text{(a)-(iv), (b)-(iii), (c)-(ii), (d)-(i)}$
  4. $\text{(a)-(ii), (b)-(i), (c)-(iii), (d)-(iv)}$
retagged by

1 Answer

5 votes
5 votes

Answer : A

     List 1                          List 2
(a) Bit Set                    (ii) int hashcode()
(b) Calendar                 (i) Time zone getTimezone()
(c) Time zone               (iv) Void SetID(String tzName)
(d) Random                  (iii) int nextInt()

Reference for java.util.*  is Here

Answer:

Related questions

2 votes
2 votes
2 answers
1
go_editor asked Jul 7, 2016
4,144 views
The mechanism that binds code and data together and keeps them secure form outside world is known asAbstractionInheritanceEncapsulationPolymorphism
2 votes
2 votes
1 answer
3
1 votes
1 votes
1 answer
4
go_editor asked Jul 13, 2016
1,130 views
Which is the method used to retrieve the current state of a check box?get State ( )put State ( )retrieve State ( )write State ( )