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 java arraylist hold different types?
What is Recursion Function?
What does the “final” keyword mean in front of a variable? A method? A class?
What do you know about java?
What is the difference between length and size in java?
How to find the largest value from the given array.
What is keyword in oop?
What is the difference between serializable and externalizable interfaces?
why we use merge option in hybernate pls give a ex snippet
Is java platform independent?
Define reflection.
What is codebase?
1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?
What are the differences between getting and load method?
What is the benefit of using enum to declare a constant?