what is the function of Public Protected write 5 points
Answers
what is the function of Public Protected ?
PROTECTED data members or PROTECTED functions means data members and functions are allowed to use by the classes which are derived by the class where they are declared. A private member variable or function cannot be accessed, or even viewed from outside the class.
hope its help you
thanx and be brainly.....................................................................
Police are a group of people whose job is to enforce laws, help with emergencies, solve crimes and protect property. A person who carries out this duty is known as a police officer. They work out of a police station. Police are trained in first aid and rescue, because police officers are often one of the first people to get to a place where people are sick or injured, such as a car accident, or a fire.
mark as branlist answer