Lesson summary and assignments
Vocabulary
- actual parameter
- the value to assign to the formal parameter
- call by value
- copying the value of the actual parameter to the constructor's formal parameter
- formal parameter
- the value to be passed to a constructor or method
- local variable
- a variable declared and accessible within a specific block of code
- overloading
- defining two or more constructors or methods with the same name but different signatures
- parameterized constructor
- a constructor that has a specific number of arguments to be passed to assign values to an object's instance variables
- state
- the attributes of an object that are represented by its instance variables