| The properties ,events, variables and methods define in class are called members of class.There are lots of types members in the class.
(1)Private Member of class:-This member of a class have strict access control Only the member function of same class can access this members.
(2)Protected Member of Class: This of member class is accessible to member of its own calls and to any of the class member in a derived class.
(3)Public Member Of Class: This member of class can be accessible from any where in class and out of class.
(4)Public and Private Static Member Of a Class: The type of member of a class can be access without creating a object of class. While to access other member of class you have to create a object of class. The public static member can be accessed using access specifier while private static member can be accessed only the member functions. | | |