Hello everyone,
This week and last week we covered ArrayLists and introduction to object-oriented programming. Remember that the main difference between ArrayLists and arrays is that ArrayLists can change size, but its syntax is a little bit more complicated so arrays should be used when size does not change.
Remember that classes are like templates with data (instance variables) and functions for a kind of customized datatype. As the classes are only templates for the "datatype," you need to create instances of the class (objects) for functionality. You may create as many objects as you want, just like how you can create as many arrays as you want.
Today's slides: https://docs.google.com/presentation/d/1yWhhXKT27wTcJDrkXjXO8Gr1cXKBstpL4qKagi13Xxs/edit#slide=id.g21186413176_0_75
Homework: NONE. Happy St. Patrick's Day!!
Feedback form: https://forms.gle/L3PVjyzWxtEuL6q67
Best,
Nelson (Mentor)