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 the return type of the main method?
What is scope & storage allocation of global and extern variables? Explain with an example
How to declare objects of a class ?
What does flag mean in java?
Can we override private method in java?
What is variable and rules of variable?
Explain about main() method in java ?
What is java jit compilers?
What is primitive array?
Can we sort hashmap in java?
What is bom encoding?
Can a variable be local and static at the same time?
How do generics work?
What is the purpose of using bufferedinputstream and bufferedoutputstream classes?
What is the base class of all exception classes?