CMPSC 24 Lecture Notes - Lecture 2: Ideal Class Group
Document Summary
A methodology that produces a solution to a problem in terms of self-contained entities called objects. A thing or entity that makes sense within the context of the problem. Set of private data with member functions to manipulate the private data. Class group of objects with similar properties and behaviors. Classes contain fields that represent properties and behaviors. Separation of a data type"s logical properties from its implementation. Logical level: abstract view of the domain and operations (what) Implementation level: specific representation of the structure to hold the data items. Encapsulation of a fixed number of data components (member variables), with the functions (member functions that manipulate them. Observers --> const keyword to prevent changes to data during implementation. Objects will be initialized at their declaration during implementation. Multiple constructors can be possible based on the need. Details of each of the member functions (function definitions) Also look up other # stuff in c++