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
What are the restriction imposed on a static method or a static block of code?
What is indexof?
Why volatile is used in java?
What is the default value of the local variables?
These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }
What is string immutability?
What is the difference between a checked and an unchecked exception?
Can we override tostring method in java?
How do you implement tree mirroring in java?
What is adapter in java?
How much ram can a 64 bit processor theoretically?
What is the difference between reader/writer and inputstream/output stream?
what is static import in java? Explain
What are the advantages of functions?
Which arithmetic operations can result in the throwing of an arithmeticexception?