By Matt Weisfeld

Object-oriented programming (OOP) is the root of recent programming languages, together with C++, Java, C#, and visible simple .NET. through designing with items instead of treating the code and knowledge as separate entities, OOP permits items to completely make the most of different gadgets' prone in addition to inherit their performance. OOP promotes code portability and reuse, yet calls for a shift in pondering to be totally understood. ahead of leaping into the realm of object-oriented programming languages, you need to first grasp The Object-Oriented notion approach.

Show description

Read or Download Object-Oriented Thought Process, 3rd Edition PDF

Best object-oriented software design books

Java & XML: Solutions to Real-World Problems

With the XML ''buzz'' nonetheless dominating speak between web builders, there is a actual have to easy methods to minimize throughout the hype and positioned XML to paintings. Java & XML exhibits tips on how to use the APIs, instruments, and tips of XML to construct real-world purposes. the result's code and knowledge which are transportable. This moment version provides chapters on complex SAX and complicated DOM, new chapters on cleaning soap and information binding, and new examples all through.

Data Structures for Computational Statistics

Because the starting of the seventies desktop is on the market to take advantage of programmable pcs for varied projects. in the course of the nineties the has built from the large major frames to private workstations. these days it's not in basic terms the that is even more robust, yet workstations can do even more paintings than a major body, in comparison to the seventies.

Object-Oriented Analysis, Design and Implementation: An Integrated Approach

The second one version of this textbook comprises revisions according to the suggestions at the first version. In a brand new bankruptcy the authors supply a concise creation to the rest of UML diagrams, adopting an analogous holistic procedure because the first version. utilizing a case-study-based procedure for offering a entire advent to the rules of object-oriented layout, it includes:A sound footing on object-oriented techniques corresponding to sessions, items, interfaces, inheritance, polymorphism, dynamic linking, and so on.

Extra resources for Object-Oriented Thought Process, 3rd Edition

Example text

Superclasses and Subclasses The superclass, or parent class, contains all the attributes and behaviors that are common to classes that inherit from it. All mammals have these attributes and behaviors, so it is not necessary to duplicate them down the inheritance tree for each type of mammal. The Mammal class is considered the superclass of the Dog and the Cat subclasses, or child classes. When you’re designing a Cat class, the Mammal class provides much of the functionality needed. To make it more specifically a cat type of mammal, the Cat class must include any attributes or behaviors that pertain solely to a cat.

Class reuse means that someone has already written a class. Thus, a programmer who uses a class must know how to get the class to work properly. This programmer will combine many classes to create a system. The programmer is the one who needs to understand the interfaces of a class. Therefore, when we talk about users in this chapter, we primarily mean designers and developers—not necessarily end users. Thus, when we talk about interfaces in this context, we are talking about class interfaces, not GUIs.

This said, the obvious question is who are the users? Although the customers are certainly users, the cabbie must be able to successfully provide the service to the customers. In other words, providing an interface that would, no doubt, please the customer, like “Take me to the airport for free,” is not going to go over well with the cabbie. Thus, in reality, to build a realistic and usable interface, both the customer and the cabbie must be considered users. For a software analogy, consider that users might want a programmer to provide a certain function.

Download PDF sample

Rated 4.93 of 5 – based on 30 votes