Lesson summary and assignments
Vocabulary
- access modifier
- a keyword used to set the visibility of classes, variables, constructors, and methods
- DRY principle
- a software development principle that stands for "Don't Repeat Yourself" which aims to reduce repetition in code
- encapsulation
- an object-oriented programming concept where the instance variables of a class are hidden from other classes and can be accessed only through the methods of the class
- instance variable
- a variable defined in a class that represents an attribute of an object
- refactor
- to improve the readability, reusability, or structure of program code without altering its functionality