MIS 304 Lecture Notes - Lecture 17: Unified Modeling Language, Init

49 views2 pages

Document Summary

Instance: each object that is created from a class. Hide an attribute: start its name with two underscores. State: the values of the object"s attributes at any given moment. Instance attributes: belong to a specific instance of a class. Unified modeling language (uml): provides a set of standard diagrams for graphically depicting object-oriented systems. Problem domain: the set of real-world objects, parties, and major events related to the problem. Get a written description of the problem domain. Identify all nouns (each noun is a potential class) Refine the list to only include classes relevant to the problem. Eliminate nouns that mean the same thing. Some nouns might represent items that we don"t need to be concerned with to solve the problem. Eliminate nouns that represent objects rather than classes. Some nouns might represent simple values that can be assigned to a variable and don"t require a class. Allows a new class (subclass) to extend an existing class (superclass)

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