M
Q. What will be the output of the following code –
import java.util.Iterator; import java.util.Map; import java.util.concurrent.ConcurrentSkipListMap; public class ConcurrentSkipMapTest { public static void main (String args[]) { Map<Integer,String> concurrentSkipListMap= new ConcurrentSkipListMap<Integer,String>(); concurrentSkipListMap.put(11,”audi”); concurrentSkipListMap.put(44,”null”); Iterator<Integer> keyIterator = concurrentSkipListMap.keySet().iterator(); while (keyIterator.hasNext()) { System.out.print(keyIterator.next()); } } }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. From Java five onwards, that one among these is suggested to replace Hashtable?
Q. What is the use of final keyword in Java?
Q. What is the output of the below Java program with WHILE, BREAK and CONTINUE?
Q. The class RuntimeException is the superclass of which of the following classes?
Q. concurrentSkipListMap permits
Q. What is the original name of Java Programming language?
Q. If not assigned a value, a variable of type char has the following default value:
Q. Name of a Class, Variable, Method or an Interface in Java language is called?
Q. Which is the Logical operator in Java that works with a Single Operand?
Discusssion
Login to discuss.