Concept for Object Oriented Design
In this chapter you will learn:
- What Is Object-Oriented Programming?
- What are classes
- What are Objects
- What are Properties
- What are Methods
Object-Oriented
With Object-Oriented Programming, we can model the general idea by using a class.
Class
A class is a unit of code that describes the characteristics and behaviors of something.
Object
An object is a specific instance of a class.
Properties
The characteristics of a class or object are known as its properties.
Method
The behaviors(actions) of a class are known as its methods.
Next chapter...
What you will learn in the next chapter:
Home » PHP Tutorial » PHP Class Definition