Wednesday, November 27, 2024

OBJECT ORIENTED PROGRAMMING (OOP)

**i' am using php, but the concept can use in any programming language.
*understanding programming in procedural is required
.


CLASS and OBJECT.









like the picture above (click pict), we made class and object (using command "class and new").
"class is blueprint" and with blueprint we can made objects, is like house plan can make real home/house.


PROPERTY AND METHOD.

Look at picture on left (Click Pict)
at it simplest... we called variable in OOP as property.
and function as method.




0 comments:

Post a Comment