CLASS
A class is user defind data type let contain data
member in member funcation class is defind by using a keyword called as class.
By
defult the data member and member function of a class is private.
Class
is terminated by using semicolon (;)
The
class variable are known as object and instance of a class data used to call
the method.
(Variable of class or blue print of class)
Or function with the help of dot(.) operator.
There are two methodes data used to devlope a
class program.
Class program by out side the classmethod.
SYNTEX OF CLASS
Class name
{
private:
data member
member function
};
Comments