Computer Science 1037A/B Lecture Notes - Lecture 3: Object-Oriented Programming, Member Variable, Morphism Of Algebraic Varieties

36 views9 pages

Document Summary

Programmer-created data types that specify legal values that can be stored and operations that can be done on those values, so the user of the data type doesn"t need to know how the data is stored. Procedural uses variables to store data and focuses on the processes/functions that occur in a program. Object oriented programming is based on objects that encapsulate the data and functions that operate on it. Object software entity that combines data and functions that act on the data in a single unit. Member functions procedures/functions that act on the attributes. Data hiding restricting access to certain members of an object. Encapsulation the bundling of an object"s data procedures into a single entity, bridges the gap between private and public members so if you use a get style member function, you are encapsulating data. Class - a programmer defined data type used to define objects.

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