Q121
What will be the output of the following Java code? import java.util.*; class Bitset public static void main(String args[]) BitSet obj = new BitSet(5); for (int i = 0; i < 5; ++i) obj.set(i); System.out.print(obj.get(3));
A.
2
AnswerB.
3
C.
4
D.
5
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board