- Elias
Topic Author- Offline
- Administrator

Less More- Posts: 4306
- Thank you received: 0
6 months 1 week ago#3526by EliasWhat is property and method in OOP?
Please Log in to join the conversation.
- Elias
Topic Author- Offline
- Administrator

Less More- Posts: 4306
- Thank you received: 0
6 months 1 week 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.
Please Log in to join the conversation.
- Q&A
- Index
- PHP
- What is property and method in OOP?
Time to create page: 0.071 seconds