- #ARRAY VS ARRAYLIST VS LINKEDLIST ANDROID STACK HOW TO#
- #ARRAY VS ARRAYLIST VS LINKEDLIST ANDROID STACK CODE#
#ARRAY VS ARRAYLIST VS LINKEDLIST ANDROID STACK CODE#
Why can’t we create generic array? or write code as List array = new ArrayList.Why can’t we write code as List numbers = new ArrayList() ?.What are best practices related to Java Collections Framework?.What is Big-O notation? Give some examples?.What are common algorithms implemented in Collections Framework?.How can we create a synchronized collection from given collection?.While passing a Collection as argument to a function, how can we make sure the function will not be able to modify it?.What is difference between Comparable and Comparator interface?.What is Comparable and Comparator interface?.What is Queue and Stack, list their differences?.What are concurrent Collection Classes?.Which collection classes are thread-safe?.Which collection classes provide random access of its elements?.What is difference between ArrayList and LinkedList?.What is difference between Array and ArrayList? When will you use Array over ArrayList?.What are similarities and difference between ArrayList and Vector?.
#ARRAY VS ARRAYLIST VS LINKEDLIST ANDROID STACK HOW TO#
How to decide between HashMap and TreeMap?.What is difference between HashMap and Hashtable?.What are different Collection views provided by Map interface?.What is the importance of hashCode() and equals() methods?.Why there are no concrete implementations of Iterator interface?.How to avoid ConcurrentModificationException while iterating a collection?.What is difference between fail-fast and fail-safe?.What do you understand by iterator fail-fast property?.What are different ways to iterate over a list?.
What is different between Iterator and ListIterator?.Why Iterator don’t have a method to get next element directly without moving the cursor?.Why there is not a method like Iterator.add() to add elements to the collection?.What is the difference between Enumeration and Iterator interface?.Why Map interface doesn’t extend Collection interface?.Why Collection doesn’t extend Cloneable and Serializable interfaces?.What are the basic interfaces of Java Collections Framework?.What is the benefit of Generics in Collections Framework?.What is Java Collections Framework? List out some benefits of Collections framework?.What are Collection related features in Java 8?.