What is property and method in OOP?

More
1 month 1 week ago #3526 by Elias
What is property and method in OOP?

Please Log in to join the conversation.

More
1 month 1 week ago #3527 by Elias
Answered by Elias on question What is property and method in OOP?
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.

Please Log in to join the conversation.

Time to create page: 0.212 seconds