Explain about vector, dictionary,hash table, property
classes?



Explain about vector, dictionary,hash table, property classes?..

Answer / ravikiran(aptech mumbai)

vector is a legacy class which contains all static methods
dictionary is a sub class of hastable and is used to store
the objects as key-value pairs
hashtable is used to store the objects as key value pairs
and is a legacy class and doenn't allow null keys and null
vlaues
property is subclass of hashtable used to save the objects

Is This Answer Correct ?    8 Yes 3 No

Post New Answer

More Core Java Interview Questions

Why is stringbuffer called mutable?

0 Answers  


What are the methods to rectify ambiguities in the interfaces in JAVA?

0 Answers   CGI,


How do I convert a numeric ip address like 192.18.97.39 into a hostname like java.sun.com?

0 Answers  


What is the difference between Java Program Constructor and Java Program Method, What is the purpose of Java Program constructor Please Explain it Breafily?

0 Answers   PUCIT,


Is ++ operator is thread safe in java?

0 Answers  






What is Java Shutdown Hook?

0 Answers  


What is the purpose of void?

0 Answers  


What is primitive array?

0 Answers  


How to perform Singleton of the java class object on multi JVM?

2 Answers  


Explain about GridBag Layout?

1 Answers  


Can constructor be inherited?

0 Answers  


Are variables stored in ram?

0 Answers  


Categories