What is an array and a vector? How they different from each
other?
Answer Posted / suhas
1)Array is a collection framework class.
Vector is a legacy class.
2)Array is not synchronised by default
Vector is Synchronised by default
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How can a gui component handle its own events?
When should a function throw an exception?
What is a java applet? What is an interface?
What is regex used for?
What do you mean by stack?
What is the use of singleton?
Can an interface be defined inside a class?
Why java is platform independent? Explain.
How do you start a new line in java?
What is parsing in java?
Assume a thread has lock on it, calling sleep() method on that thread will release the lock?
Why static functions are used?
Does constructor be static?
Why are there no global variables in java?
Can each java object keep track of all the threads that want to exclusively access it?