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.
What people are saying - Write a review
We haven't found any reviews in the usual places.
Chapter 1 A Look at How We See the World
Chapter 2 What Is a Class?
Chapter 3 Encapsulation
15 other sections not shown
Other editions - View all
abstract class abstract method argument list attributes and behaviors attributes and procedures base class business rules chapter char class definition class inherits class Student collaboration common compiled constructor course courseNumber cout create data members data type database declare an instance defined derived class describe destructor Encapsulation endl Enrollments example Figure File Fname fseek garbage collection GradStudent class graduate student GraduationYear Here’s identify implement instance variable int ID Java and C# Java application Java Virtual Machine keyword late binding level inheritance Lname m_First m_Graduation m_ID m_Last m_UndergradGraduation m_UndergradSchool member function member method method call multiple inheritance object-oriented programming perform Person class polymorphism programming language protected access specifier public class public static void public void Display real world real-world objects reference registration RegistrationForm return value sequence diagram strcpy String Student class subclass super class task theStudentclass user interface virtual function virtual void void Write