CSC 143/Chapter 8
From charlesreid1
Chapter 8 Review
Chapter 8 sections:
- Object oriented programming (classes and objects)
- Object state (fields) and behavior (methods); accessors
- Object initialization (constructors)
- Encapsulation (private fields)
- Case study: Stock class
Lecture Code
Contained in 00_HelloWorld directory in CSC-143 Github repository.
Worksheet Code
Polynomial - implement a polynomial object, add another polynomial, evaluate at value of x, find roots if deg < 3