What are data members & member functions?
The variables
which are define globally in the class
just after the defining of the
class name. For E.g.
Class pen
{
int a,int b; //Data Members
{
public void cap()
//member function
{
…
…
..
…
…
}
}
No comments:
Post a Comment