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 environment variables are required to be set on a machine in order to run Java programs?
What is static import in java?
What will happen if static modifier is removed from the signature of the main method?
What is the difference between pass by reference and pass by pointer?
What is the difference between call by reference and call by pointer?
What is meant by method overriding?
What is the main advantage of passing argument by reference?
What are the major advantages of internal iteration over external iteration?
Explain the init method?
Is string passed by reference in java?
What is the use of coding?
What is string [] args?
Which containers use a flowlayout as their default layout in java programming?
Write a program based on Java script program.
Write a program to print the pattern given below