Home » JAVA Programming » Data Structures » Question
  1. What is the remaining capacity of BlockingQueue whose intrinsic capacity is not defined?
    1. Integer.INFINITY
    2. 99999999
    3. BigDecimal.MAX_VALUE
    4. Integer.MAX_VALUE
    5. None of these
Correct Option: D

A BlockingQueue without any intrinsic capacity constraints always reports a remaining capacity of Integer.MAX_VALUE.



Your comments will be displayed only after manual approval.