MIS 304 Lecture Notes - Lecture 16: Init

60 views2 pages

Document Summary

Object-oriented programming (oop): centered on creating objects. Objects are created from abstract data types that encapsulate data and functions together. Any program that needs an object"s services can use them. Encapsulation: the combining of data and code into a single object. An object"s ability to hide its data attributes from code that is outside the object. External code can only interact with an object"s methods. Procedures operate on data items that are separate from the procedures. Data items are passed from one procedure to another. Object: a software entity that contains both data and procedures. Functions that perform operations on the object"s data attributes. Public methods: methods that can be accessed by entities outside the object. Part of the object"s private, internal workings. External entities do not have direct access to the object"s private methods. Class definition: a set of statements that define a class"s methods and data attributes. Programmers commonly organize their class definitions by storing them in modules.

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