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
What is difference between static class and normal class?
Is java code slower than native code?
What is java full form?
Does hashset allow duplicates in java?
Explain the difference between abstract classes and interfaces in java?
Can a variable be local and static at the same time?
Assume a thread has lock on it, calling sleep() method on that thread will release the lock?
What is final keyword in java? Give an example.
What is the private method modifier?
What is Major and importance difference between for and foreach loop ?
Can we have any code between try and catch blocks?
Explain reverse a linked list recursive java solution?
Are generics important java?
What do you mean by garbage collection used in java?
Is final static java?