Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started