What is the difference between a Hashtable and Properties?

Properties is a very specialized class that’s designed to hold configuration and/or resources that are usually stored in some file. Properties has several features that Hashtable doesn’t have (and shouldn’t have): It supports reading and writing its content to a well-defined plain-text format (using load()/store()) It supports reading and writing… Continue reading

What is the difference between HashTable and Arrays?

An array is a collection of data, where each data item (element) has to be the the same data type. Array elements are allocated consecutively in the same memory space and are indexed via an integer index. Hash table is a data structure that provides lookup semantics via an object… Continue reading