December 2013
Intermediate to advanced
152 pages
2h 8m
English
CHAPTER 10
![]()
Classes
Classes are the way that we create objects. We use objects to try to model the real world in computer code. Objects are a way of encapsulating programming code that, not only can be reusable, but can be duplicated and modified without affecting the original object. Objects often have attributes and functions to modify those attributes. Classes also allow you to write a group of code that may be used in multiple projects without rewriting or copying the code into each project just like a library. We will concentrate on objects in this chapter, all though the concepts are the same for simple classes.
What is an object?
When trying ...
Read now
Unlock full access