Pts 1 ref 429 4 explain encapsulation and information

This preview shows page 5 - 7 out of 7 pages.

PTS:1REF:4294.Explain encapsulation and information hiding.
We have textbook solutions for you!
/Principles-of-Information-Systems-13th-Edition-9781305971776-649/
The document you are viewing contains questions related to this textbook.
Chapter 5 / Exercise 7
Principles of Information Systems
Reynolds/Stair
Expert Verified
Outside classes should only be allowed to make a request that an attribute be altered; then it is up tothe class’s methods to determine whether the request is appropriate. When using a door, you usuallyare unconcerned with the latch or hinge construction features, and you don’t have access to the interiorworkings of the knob or know what color of paint might have been used on the inside of the doorpanel. You care only about the functionality and the interface, the user-friendly boundary between theuser and internal mechanisms of the device. Similarly, the detailed workings of objects you createwithin object-oriented programs can be hidden from outside programs and modules if you want themto be. When the details are hidden, programmers can focus on the functionality and the interface, aspeople do with real-life objects.PTS:1REF:4325.List the three parts of a class definition.
PTS:1REF:4336.Describe what class diagrams list by convention.
PTS:1REF:4367.Explain what private access means in object oriented programming.
PTS:1REF:4438.List the two identifiers within a method that always mean the exactly same thing when you write an in-stance method in a class.
PTS:1REF:4519.Describe what happens any time a local variable in a method has the same identifier as a class field.

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 7 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Winter
Professor
N/A
We have textbook solutions for you!
The document you are viewing contains questions related to this textbook.
Principles of Information Systems
The document you are viewing contains questions related to this textbook.
Chapter 5 / Exercise 7
Principles of Information Systems
Reynolds/Stair
Expert Verified

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture