附註:Includes bibliographical references and index.
Terms of Use; Want to learn more?; About the Authors; Contents at a Glance; Contents; Introduction; Chapter 1 A Look at How We See the World; The Stuff That Stuff Is Made Of; Abstract Objects and Instances; Why an Object?; Inheritance; Why Use Inheritance?; Objects in the Business World; Real-Life Objects and Object-Oriented Programming; Quiz; Chapter 2 What Is a Class?; The Object of Objects; A Class; Defining a Class; Attributes; Methods; Combining a Class with a Program; Declaring an Instance of a Class; Initializing an Instance Variable; Accessing an Instance Variable.
Assigning a Value to an Instance Variable from Your ProgramCalling a Method; Passing Parameters; Using a Return Value; Quiz; Chapter 3 Encapsulation; Parts of a Program Come Together; What Is Encapsulation?; Why Use Encapsulation?; Protection Using Access Specifiers; Public Access Specifier; Private Access Specifier; Protected Access Specifier; Encapsulation in Action Using C++; Inside the Write() Member Function; Inside the Display() Member Function; Inside the main() Function; Protected Access Specifier in Action; Encapsulation in Action Using Java; Protected Access Specifier in Action.
QuizChapter 4 Methods and Polymorphism; Methods; Polymorphism; Overloading Methods; Polymorphism Using C++; Interface; Interface Design; Binding; Run-Time Polymorphism; Run-Time Polymorphism in Action; Quiz; Chapter 5 Inheritance; Inheritance: The Only Way to Program; The Class Hierarchy; Types of Inheritance; Choosing the Right Type of Inheritance; Simple Inheritance Using C++; Simple Inheritance Using Java; Level Inheritance Using C++; Level Inheritance Using Java; Multiple Inheritance Using C++; Multiple Inheritance Using Java; Quiz; Chapter 6 Abstraction; Abstraction: The Enforcer.
Function vs. FunctionalityThe Power of Abstraction; The Abstract Method; Abstraction in Action; Errors Galore; Frameworks, Libraries, and Abstraction; Quiz; Chapter 7 Identifying and Describing Objects; An Object; Identifying Attributes; Describing Attributes; Decomposing Attributes to Data; Identifying Behaviors; Describing Behaviors; Class Definition and Class Diagram; Relationships Among Objects; Entity Relationship Diagram; Leveling Diagram; Quiz; Chapter 8 Real-World Modeling; Theory vs. the Real World; From Simple Beginnings; Object-Oriented vs. Procedural Languages; Behavior Problems.
Simulation May Not Be the ObjectiveInternal Model and External Model; Hierarchical Problems; Task Oriented, Not Object Oriented; Self-Contained Data vs. Wide Source of Data; The World in Discrete Pieces; Do We Think in Objects?; OOP and Data; Real-World Hierarchy; The Morphing of a Hierarchy; ''Is a'' Problems; The Real-World Challenges of Object-Oriented Programming; Data Storage; Common Procedures; Defining Objects; Hierarchy; The Computer World vs. the Real World; Quiz; Chapter 9 Collaboration; What Is Collaboration?; Inside a Process; OOP Collaboration; UML Sequence Diagrams.
摘要:"JIM KEOGH (Ridgefield Park, NJ) is a Columbia University Faculty member and teaches Object-oriented programming along with other computer science courses. MARIO GIANNINI (New York, NY) is the chair of the programming track at Columbia University and has written several computer technology books for Prentice-Hall."-- , "Learn object-oriented programming in no time with help from this easy-to-understand guide, ideal for novice and expert programmers alike. Discover why objects are so successful as the model for this type of programming and how objects are classified. Distinguish between how people see the world and how computers see it. Learn about attributes and methods, inheritance, polymorphism, real-world and case modeling, object-oriented programming languages, and much more. Each chapter ends with a quiz, culminating in a final exam at the end of the book so you can test your knowledge."--