Online Practice Test
Java Part 2
The Dictionary class is ______________ class
- both a and c
CORRECT ANSWER : abstract
The Dictionary class is the abstract parent of any class, for example: Hashtable, which is used to map keys to values. Every key and every value is an object.
In any one Dictionary object, every key is associated with at most one value. In a Dictionary with a key, the element need to be searched which matches the key pair and its value.
The value of a particular key at a particular time is stored in the dictionary object. The value can be retrieved from the object by using the key that is associated with it.
The Dictionary class has become obsolete instead of this Map interface implementation is used to obtain key/value storage functionality.
Rohit Sharma 08-14-2014 06:16 PM
Write your comments
Enter the code shown above:
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)
Java Beginner (11)
Core Java (20)
Core Java (10)
Core Java (72)
Java Web Services (20)