A animated model that represents a real-life thing, process, or situation.
A set of rules for how things interact within a simulation.
Unable to change. Strings in Java are immutable, meaning you can't change it once you make it. If you take a substring of a String, or concatenate something to a String, the result is a *brand new* String, rather than a modification of the original.
A particular way of organizing data in our programs.
A heterogenous, immutable data type that stores an ordered sequence of things.
The items stored can be of any type: numeric, string, boolean, etc.
A heterogenous, **mutable** data type that stores an ordered sequence of things.
The process of converting the value of one data type (integer, string, float, etc.) to another data type is called type conversion.
When something is changeable or has the ability to change.
The `join()` method takes all items in a collection and joins them into one string
A for loop lets us repeat code a **fixed number of times.**
Accessing certain elements in a list
A method that counts occurrences of specific items in a list.
Add a particular item to the end of a list.
Takes a list as an argument and extends the current list with the list given as an argument.
sorts the list in ascending order by default.
reverses the sorting order of the elements.
removes the first occurrence of the element with the specified value.