frameworks - java Collections Interview questions on comon methods - Stack Overflow
Java Interview Questions and Answers
Java Interview Help
Do you know what they ask? If so, tell them what you know.
If you don't, no matter what we will tell you they will instantly find out that you don't know these.
More on reddit.comUseful Java collections for interviews?
-
PriorityQueue
-
Stack
-
TreeMap
-
HashSet
-
HashMap
-
LinkedList
-
ArrayList
-
ArrayDeque
-
BitSet
Videos
All java object classes (which include all the collections) are derived from the base class called Object. This class has some methods which are available to all objects (because they are sub-classes)
Some of the methods like add(), addAll(), clear(), iterator() are the methods which are common to all collection classes and interface.
Came across this while preparing myself, you can refer to this if you are preparing for Java interview. Hope you find this useful. :)