Differentiate Vector and ArrayList?
Answer Posted / uthrakumar-wipro technologies
array list store only one type of datas ie thier datatype
should be similar
whereas vectore can store different datatype variables ie
withrespect to the <class> datatype....for using vector we
have to convert the data into objects using the following
syntax...
eg:
char <obj>=new char();
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
How do listeners work?
How many arguments can a method have java?
what is function overloading in java?
What does isempty () do in java?
Explain importance of finally block in java?
What are thread local variables?
What is consumer interface?
What is the use of predicate in java 8?
Explain abstract class in java?
What is the basic concept of java?
What is difference between length and length() method in java ?
What is meant by method?
Can constructor be protected in java?
Is main is a keyword?
How do you convert an int to a double in java?