ecomputernotes's picture
From ecomputernotes rss RSS  subscribe Subscribe

Computer Notes - Information Hiding(OOP) 

http://ecomputernotes.com - Computer Notes - Information Hiding(OOP) in Object oriented Programming what is Information Hiding Explain about it in detail .explain it with example

 

 
 
Tags:  Computer  Notes 
Views:  25
Published:  January 02, 2012
 
0
download

Share plick with friends Share
save to favorite
Report Abuse Report Abuse
 
Related Plicks
Computational Aspects of Algebraic Curves (Lecture Notes Series on Computing)

Computational Aspects of Algebraic Curves (Lecture Notes Series on Computing)

From: anon-389007
Views: 222 Comments: 0
Computational Aspects of Algebraic Curves (Lecture Notes Series on Computing) ,romantic ebooks online, top ten library in the world, library and the woodlands texas, items needed in a library
 
Natural language communication with computers (Lecture notes in computer science)

Natural language communication with computers (Lecture notes in computer science)

From: anon-391955
Views: 300 Comments: 0
Natural language communication with computers (Lecture notes in computer science) ,libraries cockeysville, flowers in the attic ebook, the library store tremont il, polk county florida library system
 
Quantum Probability for Probabilists (Lecture Notes in Mathematics)

Quantum Probability for Probabilists (Lecture Notes in Mathematics)

From: anon-390802
Views: 220 Comments: 0
Quantum Probability for Probabilists (Lecture Notes in Mathematics) ,error correcting coding ebook, computer ebook free programming, public library lookup, user services in libraries
 
Efficient Visual Recognition Using the Hausdorff Distance (Lecture Notes in Computer Science)

Efficient Visual Recognition Using the Hausdorff Distance (Lecture Notes in Computer Science)

From: anon-389753
Views: 304 Comments: 0
Efficient Visual Recognition Using the Hausdorff Distance (Lecture Notes in Computer Science) ,ala shatford library, library jobs 77084, motive client utility library, where to download panelw library ubuntu
 
Advances in Petri Nets 1991 (Lecture Notes in Computer Science)

Advances in Petri Nets 1991 (Lecture Notes in Computer Science)

From: anon-390693
Views: 249 Comments: 0
Advances in Petri Nets 1991 (Lecture Notes in Computer Science) ,state libraries adelaide south australia, richard nixon library concerts, ebook roll up, free legacy of the force ebook
 
Computer Algebra Methods for Equivariant Dynamical Systems (Lecture Notes in Mathematics)

Computer Algebra Methods for Equivariant Dynamical Systems (Lecture Notes in Mathematics)

From: anon-391693
Views: 296 Comments: 0
Computer Algebra Methods for Equivariant Dynamical Systems (Lecture Notes in Mathematics) ,public library reference service articles, volunteer library, difference between libraries and playlists itunes, rangeview library system
 
See all 
 
More from this user
Computer Notes - Member Templates

Computer Notes - Member Templates

From: ecomputernotes
Views: 13
Comments: 0

Computer Notes - Hierarchy of Inheritance

Computer Notes - Hierarchy of Inheritance

From: ecomputernotes
Views: 28
Comments: 0

Computer Notes - Inheritance

Computer Notes - Inheritance

From: ecomputernotes
Views: 30
Comments: 0

Computer Notes - Member Templates II

Computer Notes - Member Templates II

From: ecomputernotes
Views: 19
Comments: 0

Computer Notes - Iterators

Computer Notes - Iterators

From: ecomputernotes
Views: 27
Comments: 0

Computer Notes - Inheritance in Class

Computer Notes - Inheritance in Class

From: ecomputernotes
Views: 16
Comments: 0

See all 
 
 
 URL:          AddThis Social Bookmark Button
Embed Thin Player: (fits in most blogs)
Embed Full Player :
 
 

Name

Email (will NOT be shown to other users)

 

 
 
Comments: (watch)
 
 
Notes:
 
Slide 1: Information Hiding(OOP) http://ecomputernotes.com
Slide 2: Information Hiding ►Information ►It ►It is stored within the object is hidden from the outside world can only be manipulated by the object itself http://ecomputernotes.com
Slide 3: Example – Information Hiding ►Ali’s ►We name is stored within his brain can’t access his name directly we can ask him to tell his name ►Rather http://ecomputernotes.com
Slide 4: Example – Information Hiding ►A phone stores several phone numbers can’t read the numbers directly from the SIM card ►We ►Rather phone-set reads this information for us http://ecomputernotes.com
Slide 5: Information Hiding Advantages ►Simplifies the model by hiding implementation details ►It is a barrier against change propagation http://ecomputernotes.com
Slide 6: Encapsulation ►Data and behaviour are tightly coupled inside an object ►Both the information structure and implementation details of its operations are hidden from the outer world http://ecomputernotes.com
Slide 7: Example – Encapsulation stores his personal information and knows how to translate it to the desired language ►Ali ►We don’t know How the data is stored How Ali translates this information http://ecomputernotes.com
Slide 8: Example – Encapsulation Phone stores phone numbers in digital format and knows how to convert it into humanreadable characters ►A ►We don’t know How the data is stored How it is converted to human-readable characters http://ecomputernotes.com
Slide 9: Encapsulation – Advantages ►Simplicity ►Low and clarity complexity understanding ►Better http://ecomputernotes.com
Slide 10: Object has an Interface object encapsulates data and behaviour ►So how objects interact with each other? ►Each object provides an interface (operations) ►Other objects communicate through this interface ►An http://ecomputernotes.com
Slide 11: Example – Interface of a Car ►Steer Wheels ►Accelerate Gear ►Apply Brakes ►Turn Lights On/Off ►Change http://ecomputernotes.com
Slide 12: Example – Interface of a Phone Number ►Place Call ►Disconnect Call ►Add number to address book ►Remove number ►Update number ►Input http://ecomputernotes.com
Slide 13: Implementation ►Provides ►This services offered by the object interface includes Data structures to hold object state Functionality that provides required services http://ecomputernotes.com
Slide 14: Example – Implementation of Gear Box ►Data Structure Mechanical structure of gear box ►Functionality Mechanism to change gear http://ecomputernotes.com
Slide 15: Example – Implementation of Address Book in a Phone ►Data Structure SIM card ►Functionality Read/write circuitry http://ecomputernotes.com
Slide 16: Separation of Interface & Implementation change in implementation does not effect object interface ►Means is achieved via principles of information hiding and encapsulation ►This http://ecomputernotes.com
Slide 17: Example – Separation of Interface & Implementation driver can drive a car independent of engine type (petrol, diesel) ►A interface does not change with the implementation ►Because http://ecomputernotes.com
Slide 18: Example – Separation of Interface & Implementation driver can apply brakes independent of brakes type (simple, disk) ►A ►Again, reason is the same interface http://ecomputernotes.com
Slide 19: Advantages of Separation need not to worry about a change until the interface is same ►Users ►Low Complexity access to information structure of an object can produce errors ►Direct http://ecomputernotes.com
Slide 20: Messages communicate through messages ►They send messages (stimuli) by invoking appropriate operations on the target object ►The number and kind of messages that can be sent to an object depends upon its interface ►Objects http://ecomputernotes.com
Slide 21: Examples – Messages Person sends message (stimulus) “stop” to a Car by applying brakes ►A Person sends message “place call” to a Phone by pressing appropriate button ►A http://ecomputernotes.com

   
Time on Slide Time on Plick
Slides per Visit Slide Views Views by Location