ansh11
Member level 4
What is difference between class and object
I'm slightly confused between object and class in programming language. I looked some tutorials but still getting confused.
This is example that I want to understand regarding class and object
I m confused can anyone explain what the example you prefer to understand difference between object and class in programming
I'm slightly confused between object and class in programming language. I looked some tutorials but still getting confused.
This is example that I want to understand regarding class and object
Code:
class person
{
public:
string name;
int age;
};
I m confused can anyone explain what the example you prefer to understand difference between object and class in programming