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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you access non static variable in static context?

545


What are the 5 types of research methods?

574


Can java arraylist hold different types?

481


What is the purpose of the enableevents() method in java programming?

575


How to access arraylist elements in java?

482






What is regex used for?

528


Can we declare register variable as global?

499


What is broken and continue statement?

520


What is a char in java?

522


What are the two ways of implementing multi-threading in java?

796


What are the characteristics of Final,Finally and Finalize keywords.

685


What are the properties of thread?

483


What is difference between hashset and hashmap in java?

455


Tell some latest versions in JAVA related areas?

546


What is JDBC Driver interface?How can you retrieve data from the ResultSet

1496