what is the difference between ArrayList and Vector
Answer Posted / mallikarjuna
yes ArrayList is not syncronized on multiple threads and
not give correct result but Vector is syncronized 0n
multiple threads and it give correct result
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can we sort a map in java?
How to create a base64 decoder in java8?
What is java virtual machine? Explain
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. (
What are the basic concepts of OOPS in java?
What is the difference between a window and a frame in java programming?
How can we make a class virtual?
What is the purpose of using bufferedinputstream and bufferedoutputstream classes?
Why does java not support pointers?
Explain wait() method of object class ?
What is garbage collection? Can it be forced to run?
What are the classes of java?
What is var keyword ?
Can we use string in the switch case?
Can we declare main () method as non static?