Page 304 - SAD bookflip
P. 304

Overview of Object-Oriented Analysis





                                                                            • Messages



                                                                                   – Polymorphism


                                                                                          • Example to left – same

                                                                                              message has different
                                                                                              meanings for different

                                                                                              objects

                                                                                   – Black box


                                                                                          • Message triggers change to

                                                                                              object without specifying

                                                                                              how


                                                                                   – Encapsulation


                                                                                          • Allows objects to be used as
                                                                                              modular components

                                                                                              anywhere in the system




                                                                                                                                      13
   299   300   301   302   303   304   305   306   307   308   309