Computer Science, asked by akhiltaj7, 6 months ago

difference between variables and functions​

Answers

Answered by sam44257
3

Answer:

The difference between functions and variables in OOP is the same as the difference between them in procedural languages. Variables holds mutable data, functions are set of instructions to execute on the data. In OOP, both variables and data are grouped into classes, to make it clear which functions processes each variable and to restrict access of functions in other classes to the variables. If used correctly it makes the application more clear and much less error prone.

Explanation:

Hope this helps you.

Answered by chaudharypriya123
1

SAM IB ME....... .....

Similar questions