+612 9045 4394
 
CHECKOUT
OOP Demystified : A Self-teaching Guide : The Demystified Series - James Keogh

OOP Demystified : A Self-teaching Guide

The Demystified Series

Paperback Published: 29th March 2004
ISBN: 9780072253634
Number Of Pages: 288

Share This Book:
Ships in 7 to 10 business days

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.

Introductionp. xvii
A Look at How We See the Worldp. 1
The Stuff That Stuff Is Made Ofp. 1
Abstract Objects and Instancesp. 2
Why an Object?p. 4
Inheritancep. 4
Why Use Inheritance?p. 6
Objects in the Business Worldp. 7
Real-Life Objects and Object-Oriented Programmingp. 9
Quizp. 10
What Is a Class?p. 11
The Object of Objectsp. 11
A Classp. 12
Defining a Classp. 13
Attributesp. 14
Methodsp. 16
Combining a Class with a Programp. 19
Declaring an Instance of a Classp. 20
Initializing an Instance Variablep. 21
Accessing an Instance Variablep. 22
Assigning a Value to an Instance Variable from Your Programp. 23
Calling a Methodp. 24
Passing Parametersp. 25
Using a Return Valuep. 25
Quizp. 26
Encapsulationp. 27
Parts of a Program Come Togetherp. 27
What Is Encapsulation?p. 29
Why Use Encapsulation?p. 30
Protection Using Access Specifiersp. 30
Public Access Specifierp. 31
Private Access Specifierp. 32
Protected Access Specifierp. 33
Encapsulation in Action Using C++p. 34
Inside the Write() Member Functionp. 35
Inside the Display() Member Functionp. 36
Inside the main() Functionp. 36
Protected Access Specifier in Actionp. 38
Encapsulation in Action Using Javap. 41
Protected Access Specifier in Actionp. 42
Quizp. 44
Methods and Polymorphismp. 45
Methodsp. 45
Polymorphismp. 46
Overloading Methodsp. 50
Polymorphism Using C++p. 51
Interfacep. 54
Interface Designp. 54
Bindingp. 55
Run-Time Polymorphismp. 55
Run-Time Polymorphism in Actionp. 56
Quizp. 59
Inheritancep. 61
Inheritance: The Only Way to Programp. 61
The Class Hierarchyp. 63
Types of Inheritancep. 63
Choosing the Right Type of Inheritancep. 67
Simple Inheritance Using C++p. 69
Simple Inheritance Using Javap. 74
Level Inheritance Using C++p. 76
Level Inheritance Using Javap. 79
Multiple Inheritance Using C++p. 82
Multiple Inheritance Using Javap. 84
Quizp. 85
Abstractionp. 87
Abstraction: The Enforcerp. 87
Function vs. Functionalityp. 89
The Power of Abstractionp. 90
The Abstract Methodp. 90
Abstraction in Actionp. 91
Errors Galorep. 94
Frameworks, Libraries, and Abstractionp. 97
Quizp. 98
Identifying and Describing Objectsp. 99
An Objectp. 100
Identifying Attributesp. 100
Describing Attributesp. 101
Decomposing Attributes to Datap. 102
Identifying Behaviorsp. 103
Describing Behaviorsp. 103
Class Definition and Class Diagramp. 108
Relationships Among Objectsp. 108
Entity Relationship Diagramp. 110
Leveling Diagramp. 111
Quizp. 113
Real-World Modelingp. 115
Theory vs. the Real Worldp. 116
From Simple Beginningsp. 116
Object-Oriented vs. Procedural Languagesp. 116
Behavior Problemsp. 117
Simulation May Not Be the Objectivep. 117
Internal Model and External Modelp. 118
Hierarchical Problemsp. 119
Task Oriented, Not Object Orientedp. 120
Self-Contained Data vs. Wide Source of Datap. 121
The World in Discrete Piecesp. 121
Do We Think in Objects?p. 122
OOP and Datap. 122
Real-World Hierarchyp. 123
The Morphing of a Hierarchyp. 123
"Is a" Problemsp. 124
The Real-World Challenges of Object-Oriented Programmingp. 125
Data Storagep. 125
Common Proceduresp. 126
Defining Objectsp. 127
Hierarchyp. 127
The Computer World vs. the Real Worldp. 128
Quizp. 131
Collaborationp. 133
What Is Collaboration?p. 133
Inside a Processp. 134
OOP Collaborationp. 135
UML Sequence Diagramsp. 141
Is main() a Class?p. 142
Student Registrationp. 142
UML Collaboration Diagramsp. 143
Collaboration and Inheritancep. 145
Associationp. 146
Self-Collaborationp. 146
Class Responsibility Collaboratorp. 147
Quizp. 148
Case Modelingp. 149
About Case Modelingp. 149
Oh No, Not End Usersp. 150
Gathering Requirementsp. 151
The Interviewp. 152
Essential Use Casep. 152
System Use Casep. 154
Business Rulesp. 155
User Interface Diagrammingp. 157
User Interface Flow Diagrammingp. 157
User Interface Prototypingp. 158
Defining Classes from Our Designsp. 160
Identifying Technical Requirementsp. 161
Change Casesp. 162
Project Managementp. 162
Clientsp. 163
Projectsp. 163
Work Requestsp. 164
Tasksp. 165
Estimationp. 166
Quizp. 167
Interfacesp. 169
Inside Interfacesp. 169
Interfaces Are Not Classesp. 170
Interface Diagramsp. 171
Show Me the HTMLp. 172
A Quick Introduction to HTMLp. 172
The HTMLSource Interfacep. 173
The Classes, Before an Interface Is Implementedp. 174
Implementing Interfaces in Java and C#p. 178
Bringing It All Togetherp. 179
What About C++?p. 180
Componentsp. 181
Standard Interfacesp. 183
Standard Java Interfacesp. 183
Standard C# Interfacesp. 184
Ultimate Base Classesp. 185
Quizp. 187
Object-Oriented Programming Languagesp. 189
A History of Computers and Programmingp. 190
The Three Dominant Modern OOPLsp. 192
C++p. 192
Javap. 199
C#p. 204
Quizp. 209
Final Examp. 211
Answers to Quizzes and Final Examp. 215
Chapter 1p. 215
Chapter 2p. 217
Chapter 3p. 218
Chapter 4p. 219
Chapter 5p. 219
Chapter 6p. 220
Chapter 7p. 221
Chapter 8p. 222
Chapter 9p. 222
Chapter 10p. 223
Chapter 11p. 224
Chapter 12p. 224
Answers to Final Examp. 225
Classes in Javap. 233
Interfacesp. 238
Packagesp. 238
Classes in C++p. 241
Constructor and Destructorp. 242
Member Functionsp. 242
Inline Functionsp. 243
Unions, Structs, and Classesp. 243
Objects and Functions, Copy Constructorsp. 243
Enums Inside Classesp. 244
Static Membersp. 245
Class Definitions in C#p. 247
Destructors and Garbage Collectionp. 249
Assembliesp. 250
Indexp. 251
Table of Contents provided by Ingram. All Rights Reserved.

ISBN: 9780072253634
ISBN-10: 0072253630
Series: Demystified
Audience: General
Format: Paperback
Language: English
Number Of Pages: 288
Published: 29th March 2004
Publisher: McGraw-Hill Education - Europe
Country of Publication: US
Dimensions (cm): 23.7 x 19.2  x 1.7
Weight (kg): 0.49
Edition Number: 1