CSCI 41 - Week 2 Day 1 - "Proper" class design
Channel:
Subscribers:
2,650
Published on ● Video Link: https://www.youtube.com/watch?v=DX0r825_-2U
Today we continued our discussion of how to "properly" design classes, talking about different ways of doing constructors, and writing a simple class that would represent a single die, handling things like weighted dice and keeping track of what number is being displayed.
We then talked about the next homework assignment, in which you have to write a working Fraction class that you can add, subtract, etc., as well as do an Egyptian Fraction decomposition on.
Other Videos By Bill Kerney
Tags:
CSCI 41
object oriented programming
class design