Question: What is a privacy leak in Java? A. When a programmer forgets to make his/her instance variables private allowing an outside user to modify them
What is a privacy leak in Java?
| A. When a programmer forgets to make his/her instance variables private allowing an outside user to modify them | |||||||||
| B. When a class has class type instance variables and returns a reference to them allowing an outside user to modify them | |||||||||
| C. When a person breaks into the main server room and steals secret files
| |||||||||
| D. When a class has class type instance variables but never returns a reference to them
Which of the following is not a way to avoid a privacy leak?
|
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
