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
What is nullpointerexception?
What is a method in java?
What is boolean strategy?
How can you read content from file in java?
Explain the use of javap tool.
What do you mean by default constructor in java?
Can you sort a string in java?
What is the return type of the main method?
What is == in java?
How to perform selection sort in java?
Why java uses the concept of the string literal?
What are the types of methods in java?
What are 5 boolean operators?
Can we execute java program without main method?
What is runtime polymorphism or dynamic method dispatch?