Class
Also written: classes
A type you define that bundles data with the functions that work on it, and can hide that data. `Stock` is a class that keeps a bag count valid.
Also written: classes
A type you define that bundles data with the functions that work on it, and can hide that data. `Stock` is a class that keeps a bag count valid.