Question: what is the difference between length() and size() of arraylist?
Answer: Array has length property which provides the length of the Array or Array object. The java ArrayList has size() method for ArrayList which provides the total number of objects available in the collection. ...