Access the full text.
Sign up today, get DeepDyve free for 14 days.
CHAPTER 1 ■ ■ ■ T his chapter introduces object-oriented programming. Those who are familiar with object- oriented programming will probably want to skip this chapter. You can take many approaches to object-oriented design, as evidenced by the number of books written about it. The following introduction takes a fairly pragmatic approach and doesn’t spend a lot of time on design, but the design-oriented approaches can be quite useful to newcomers. What’s an Object? An object is merely a collection of related information and functionality. An object can be something that has a corresponding real-world manifestation (such as an employee object), something that has some virtual meaning (such as a window on the screen), or just some convenient abstraction within a program (a list of work to be done, for example). An object contains the data that describes the object and the operations that can be performed on the object. Information stored in an employee object, for example, might be various identi- fication information (name and address), work information (job title and salary), and so on. The operations performed might include creating an employee paycheck or promoting an employee. When creating an object-oriented design, the first step is to
Published: Jan 1, 2005
Keywords: Base Class; Abstract Class; Parent Object; Multiple Inheritance; Virtual Function
Read and print from thousands of top scholarly journals.
Already have an account? Log in
Bookmark this article. You can see your Bookmarks on your DeepDyve Library.
To save an article, log in first, or sign up for a DeepDyve account if you don’t already have one.
Copy and paste the desired citation format or use the link below to download a file formatted for EndNote
Access the full text.
Sign up today, get DeepDyve free for 14 days.
All DeepDyve websites use cookies to improve your online experience. They were placed on your computer when you launched this website. You can change your cookie settings through your browser.