Notifications
Clear all
Topic starter 27/10/2024 6:54 pm
What is property and method in OOP?
Topic starter 27/10/2024 6:54 pm
In 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.