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 fail fast in java?
What is the difference between JVM and JRE?
What is the purpose of assert keyword used in jdk1.4.x?
What are parsers? Dom vs sax parser.
How do you know if a value is nan?
Can I extend singleton class in java?
How many bits is a char?
Can a class be private?
What is adapter in java?
What is downcasting?
State one difference between a template class and class template.
Which programming language is best in future?
Give an example of use of pointers in java class.
What is a conditional equation?
What is sortedset in java?