Content deleted Content added
mNo edit summary |
No edit summary |
||
Line 8:
In the [[atom]]ic view of an object, the variables are considered to be within the [[nucleus]] and surrounded by methods. In other words, the variables and methods are [[encapsulation (computer science)|encapsulated]] within the object.
==Object-to-Object Communication==
Objects can interact and communicate with each other. If object A wants object B to perform one of B's methods, object A will send a message to object B. Consider a program which models driving aa vehicle, Object A might be you and Object B might be a car.
A message from you to Object B might involve the object your are addressing(YourCar), the name of the method (or action) to perform (changeVelocity), and a parameter such as (muchFaster).
Read on: [[object (philosophy)]], [[object-oriented programming language]], [[object-oriented programming]], [[object-oriented technology]], [[computing]]
|