What is property and method in OOP?

  • Elias
  • Elias's AvatarTopic Author
  • Offline
  • Administrator
  • Administrator
More
6 months 1 week ago#3526by Elias
What is property and method in OOP?

Please Log in to join the conversation.

  • Elias
  • Elias's AvatarTopic Author
  • Offline
  • Administrator
  • Administrator
More
6 months 1 week ago#3527by Elias
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.071 seconds

Contact

Site Info

V. Katsanioti,

Russia,

Kaliningrad Oblast.

matizegr@yahoo.com

Who's Online

We have 107 guests and no members online