Encapsulation and Information Hiding, cont.
• What the "outside world" cannot see it cannot depend on!
• The object is a "fire-wall" between the object and the "outside
world".
• The hidden data and methods can be changed without affecting
the "outside world".
Hidden data and methods
Client interface
An object Visible data and methods
Welcome To Computer Science & Engineering. This Site Contains Complete Information of Computer Engineering, Computer Science & Engineering, Computer Information System, Software Engineering, Computer Science Course Schedule, Course Tutorial, Suggestions, University Tuition Fees, Study Guideline & More.
0 Comments