java.util.Properties
----------------------------
Properties is a special case of Hashtable, holding only Strings as keys and values
The Properties
can be saved to a stream or loaded from a stream
Each key and its corresponding value in the property list is a string.
Properties
inherits fromHashtable-
java.lang.Object
java.util.Dictionary
java.util.Hashtable
java.util.Properties
|
HashMap:
---------------------
Both entries are object not string and it has rich set of Collection Handling API
put
(Object key, Object value)
Associates the specified value with the specified key in this map.
No comments:
Post a Comment