Objects, Roles, Responsibilities, and Collaboration
Buy at AllPosters.com My daughter loves to watch Christmas movies not only in Christmas season but the whole year long. I remember one movie she has watched a lot of times (because it is funny) is about a man chosen to be Santa Clause after the other Santa fell down from his roof. The movie was certainly very funny and we were laughing all the time when we watched it. When I am considering Object-Oriented (OO) programming, I am thinking about the movie and the role Santa Clause who plays in Christmas. Almost everybody loves Santa in Christmas because he delivers gifts, happiness, and hope to us. According to the movie, if one Santa falls, another one comes to play. I think this is really wonderful. In Object-Oriented programming, a program is a collection of interacting objects. A software application behaves and implements responsibilities. Objects in the application plays roles, performing corresponding responsibilities. For example, if we reinvent the North Pole machine...