Introduction to Classes and Objects in c++
This video tutorial introduces the basic concept in object oriented programming objects and classes.
You will learn what is a class, what is an object, how to declare a class, how to create an object, what are methods and properties, how to call a method from an object in detail with example.
source code for this tutorial
#include <iostream>
using namespace std;
class HumanBeing{
public :
void display(){
cout << "hello aam a human being";
}
};
int main()
{
HumanBeing anil;
anil.display();
return 0;
}