Question: Why should you avoid making class members protected when possible? Question 5 0 options: Because it can significantly slow down the operation of the code.
Why should you avoid making class members protected when possible?
Question options:
Because it can significantly slow down the operation of the code.
Because it increases the size of a program due to the extra code needed for security measures.
Because it prevents other classes from using a classes methods.
Because any other class that inherits from the class, or is in the same package, has unrestricted access to the protected member.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
