|
@@ -51,7 +51,7 @@ To facilitate this laboratory experience, we will begin by reviewing some concep
|
51
|
51
|
|
52
|
52
|
##Classes and Objects in C++
|
53
|
53
|
|
54
|
|
-An *object* is an entity that contains data and procedures to manipulate them. Similar to how each variable has a *type* of data associated to it, each object has a *class* associated to it, which describes the properties of the the objects: its data (*attributes*), and the procedures that can be used to manipulate its data (*methods*).
|
|
54
|
+An *object* is an entity that contains data and procedures to manipulate them. Similar to how each variable has a *type* of data associated to it, each object has a *class* associated to it, which describes the properties of the objects: its data (*attributes*), and the procedures that can be used to manipulate its data (*methods*).
|
55
|
55
|
|
56
|
56
|
It is not necessary to know all of the details about the methods of the object to define and use an object, but you must know how to create it and how to interact with it. The necessary information is available in the class' documentation. Before creating objects of any class, we should familiarize ourselves with its documentation. The documentation indicates, among other things, what entity is trying to be represented in the class, and its interface or methods available to manipulate the objects of the class.
|
57
|
57
|
|