adspace


Differentiate Vector and ArrayList?

Answer Posted / chinmay

vector is a legacy class but ArrayList is a collection class
vector is synchronized where as ArrayList is not

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is java string pool?

1090


explain different ways of using thread? : Java thread

1091


What is the difference between equals() and == in java?

1049


What is the difference between break and continue statements?

1133


What is a classloader in java?

1099


Write a program to print count of empty strings in java 8?

1093


What is a constructor overloading in java?

1133


What is an object in java and how is it created?

1149


Is minecraft 1.15 out?

1053


What do you mean by an interface in java?

1108


What are the differences between heap and stack memory in java?

1151


Realized?

2276


Explain public static void main(string args[]) in java.

1086


What is parsing in java?

1050


Differentiate between static and non-static methods in java.

1134