How to iterate through a list efficiently?
for (TypeOfVariable nameOfVariable: nameOfList)
How to check if a string list is empty?
list.isEmpty()
How to add an element to a list?
list.add()
How to retrieve a value from a list?
String string = list.get()
How to remove a element from a list?
list.remove()
How to check if an element is in a list?
list.contains()
What is explicit initialisation used for?
Constants and static fields
What is static keyword in java?
The static keyword indicates that a member of a class that does not belong to the instance of the class, thus shared among all objects if this class