what is the difference between ArrayList and Vector
Answer Posted / narasimha
i would like to add a new point to above answers.
we can specify the increment size with the vector and with
array list we cannot
Is This Answer Correct ? | 37 Yes | 5 No |
Post New Answer View All Answers
Explain the difference between collection api and stream api in java8?
Why is singleton class used?
Can we use both this () and super () in a constructor?
What is diamond operator in java?
What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?
How do you use compareto method?
What do you mean by Function Overloading in java?
Can we sort hashmap in java?
Define how destructors are defined in java?
What is the definition of tree ?
List types of storage classes in java?
What methodology can be employed to locate substrings inside a string?
Why does java does not support multiple inheritance? Explain
How can you read content from file in java?
What is passing parameters in java?