0
Method vs. Data (Functions)
What is the difference between a method and data in C++? And how is a method implemented into a program? I need an understanding of it for homework purposes. I’m creating a bankAccount class project for school. Examples are welcomed. Thank You.
1 Resposta
+ 1
my understanding: methods in a class are used for manipulating class members/data and/or change the state of an object. as for example; just google or wait for some better response.