Answer Posted / mandip
Ans 1: vector can store hetrogeneous data element,where
as array can stote homogeneous data element.
Ans 2: vector are store non-primitive type data element,
where as array can store primitive type data element.
Ans 3: wrapper classes are used in vector,where as in array
wrapper classes are not used.
| Is This Answer Correct ? | 17 Yes | 2 No |
Post New Answer View All Answers
what is instanceof operator used in java?
Name few java 8 annotations ?
What is a method signature java?
What is a void in java?
5 Coding best practices you learned in java?
What does it mean to flush a file?
What is an array length?
Java Compiler is stored in JDK, JRE or JVM?
What is the syntax and characteristics of a lambda expression?
what is object-oriented programming in java?
How can we use primitive data types as objects?
What is preflight request?
What is a nullable field?
Explain about core java?
How to change the priority of thread or how to set priority of thread?