I think Public means any body of function can access member function and data member private means only class body can access member function...
Separate names with a comma.