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
Can we clone singleton class in java?
What is the difference between compile-time polymorphism and runtime polymorphism?
What is the difference between the prefix and postfix forms of the ++ operator?
What is matcher in java?
What is private static in java?
Can you inherit from an abstract class java?
What are the restrictions imposed by a Security Manager on Applets?.
What is the base class of all exception classes in java?
What is the file type?
What is the purpose of checked and unchecked exceptions in JAVA?
How can we pass argument to a function by reference instead of pass by value?
What are the different types of data structures in java?
How do you pass by reference?
What do you mean by an interface in java?
What are the 8 primitive data types in java?