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

How do you control extraneous variables?

0 Answers  


Where is the singleton class used?

0 Answers   Cap Gemini,


Can we have static methods in an interface?

0 Answers  


how u do unit testing?

2 Answers   iFlex,


if a java file without any source code is valid java file?

3 Answers   SparkTG,


Can you declare a static variable in a method?

7 Answers  


What is the difference between static and non-static variables?

6 Answers  


What is deserialization?

0 Answers  


what is collatration?

0 Answers  


How a class can implement an interface?

5 Answers   SysArc,


4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (

0 Answers  


What is the meaning of 3 dots in java?

0 Answers  


Categories