CMPSC 24 Lecture Notes - Lecture 2: Ideal Class Group

52 views2 pages
28 Feb 2018
School
Course
Professor

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++

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents