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 many JVMs can run on a single machine and what is the Just-In-Time(JIT) compiler?
Can inner class final?
What is the implementation of destroy method in java. Is it native or java code?
What is file in java?
What is a java lambda expression?
What is the difference between path and classpath variables?
What is string substring?
What is nullpointerexception?
Why is stringbuffer thread safe?
What is jee6?
What happens if we don’t override run method ?
Is array passed by reference in java?
What is foreach loop in java?
What a static class can contains?
Is it necessary that each try block must be followed by a catch block?