CSC 143/Chapter 8
From charlesreid1
Chapter 8: Object Oriented Programming (Review)
Chapter 8 Summary
Chapter 8 concepts:
- Object oriented programming (classes and objects)
- Object state (fields) and behavior (methods); accessors
- Object initialization (constructors)
- Encapsulation (private fields)
- Case study: Stock class
Chapter 8 Homework
HW Questions
(Recommended) Self-check problems: #7, #10, #15, #18, #21, #26
(Required) Exercises: #3, #4, #5, #6, #14, #15, #16, #17
(Required) Projects: (none)
HW Details
Self-check:
Exercises:
Projects:
Chapter 8 Code
Lecture Code
We have a simple object-oriented hello world program implemented in the 00_HelloWorld folder in the Github repository.
Worksheet Code
Polynomials:
- In this assignment, you'll implement a Polynomial object
- Design the data structure for the polynomial object
- Implement 3 methods:
- Add to another polynomial object
- Evaluate the polynomial at x
- Find roots if degree < 3
Chapter 8 Goodies
Puzzle 1
The same - Java program, Caesar cipher
Profiles
James Gosling
- Inventor of Java
Flags
| CSC 143 - Intro to Programming II Computer Science 143 - Intro to Programming II, South Seattle College.
Chapter 8: Object Oriented Reivew CSC 143/Chapter 8 Chapter 9: Inheritance and Interfaces CSC 143/Chapter 9 Chapter 10: ArrayList CSC 143/Chapter 10 Chapter 11: Java Collections Framework CSC 143/Chapter 11 Chapter 12: Recursion CSC 143/Chapter 12 Chapter 13: Searching and Sorting CSC 143/Chapter 13 Chapter 14: Stacks and Queues CSC 143/Chapter 14 Chapter 16: Linked Lists CSC 143/Chapter 16
Category:Teaching · Category:CSC 143 · Category:CSC Related: CSC 142 Flags · Template:CSC143Flag · e |