- Elias
Topic Author- Offline
- Administrator

Less More- Posts: 4306
- Thank you received: 0
5 months 4 weeks ago#3526by EliasWhat is property and method in OOP?
- Elias
Topic Author- Offline
- Administrator

Less More- Posts: 4306
- Thank you received: 0
5 months 4 weeks ago#3527by EliasIn OOP the primary structure is an object. Method is a named action which can be applied to the object. Property is a named value, which the object has. For example, object Human has the property 'Age'. function is a more general thing, than a method.
- Q&A
- Index
- PHP
- What is property and method in OOP?
Time to create page: 0.109 seconds