CSC 143/Chapter 8: Difference between revisions
From charlesreid1
(Created page with "=Chapter 8 Review= Chapter 8 sections: * Object oriented programming (classes and objects) * Object state (fields) and behavior (methods); accessors * Object initialization (...") |
|||
| Line 7: | Line 7: | ||
* Encapsulation (private fields) | * Encapsulation (private fields) | ||
* Case study: Stock class | * 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 | |||
Revision as of 06:58, 7 September 2016
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