Consists of several classes and interfaces for storing Latvia Phone Number List objects prior to java 1.2. It wasn't there before this version . Old classes and interfaces are used to store objects under this scenario. This article on the old java class will give you a better understanding of this concept. Details.What are the old java classes?Dictionaryfeatureshashtablevectorstackedthe Latvia Phone Number List old interfacecensuslet's look at the legacy class.What are the old java classes?Earlier versions of java did not have a set system.
You can only use this legacy class from version 1.2. In this, the Latvia Phone Number List original classes have been redesigned to maintain the interface of the collection. These classes are also known as legacy classes. Jdk 5 redesigned all the old classes and interfaces to support generics .Dictionarythe dictionary is an abstract class. The main job is to store the data as a key or a pair of values. It works like a map collection.Featuresthe property class is safe for threads, I. Y., multiple threads that can share individual property objects without external synchronization . A set of properties in this class will be stored in a pair of keys or values. The properties class extends the hashtable class. Example:paketas lc importuoti java
Nuosavybės importuoti java.Util.Nustatykite viešosios Latvia Phone Number List klasės testą {public static void main (string [] args) {properties pr = new properties () pr.Put ('joey', 'friends') pr. Įdėti ('rachel', 'friends') pr.Put ('phoebe', 'friends') pr.Put ('chandler', 'friends') nustatyti Latvia Phone Number List creator = pr.Keyset () (object ob: creator) { system.Out.Println (ob + 'žvaigždutės' + pr.Getproperty ((string ob))}}}output:chandler stars in friendsphoebe stars in friendsrachel stars in friendsjoey plays in friendsold java class: hashtablehashtable is part of the