patternd public,protected, private