0 votes

What is property and method in OOP?

in General by (67.0k points) | 13 views

1 Answer

0 votes

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.

by (67.0k points)

1.6k questions

1.6k answers

81.3k users

5 Online Users
0 Member 5 Guest
Today Visits : 468
Yesterday Visits : 1254
Total Visits : 1884072
Dear All, These are my answers from Quora and primarily Google; please check the answer and from others sites; the answers are free and without any liability.To make a decision, write down all of the positives and negatives on a piece of paper.Thank you, Elias Katsaniotis, MSc.
1,644 questions
1,649 answers
81,310 users
@ 2022 V Katsanioti ,All rights reserved