1.

What is the output of this program?import java.util.*; public class hashtable_Example { public static void main(String args[]) { Hashtable object = new Hashtable(); object.put("I", new Integer(10)); object.put("L", new Integer(60)); object.put("U", new Integer(25)); System.out.print(object.contains(new Integer(25))); } }

A. True
B. U
C. L
D. False
E. None of these
Answer» B. U


Discussion

No Comment Found

Related MCQs