List vs ListBuffer6:27 with andi mitre
A list is another data structure which maintains the order of the elements, allows for duplication and is immutable. Similarly to the ArrayBuffer, the ListBuffer is the mutable form of a list.
List -- A list is an immutable data structure which can contain duplicates and maintains the order if its elements.
ListBuffer -- A ListBuffer is the mutable implementation of a list.
You need to sign up for Treehouse in order to download course files.Sign up