Why should the method getPointerTonot be made public?
What will be an ideal response?
Because it returns a pointer, which is an implementation detail that should be hidden from the client.
Computer Science & Information Technology
You might also like to view...
After receiving the hard drive from detectives, the forensic analyst for a court case used a log to capture corresponding events prior to sending the evidence to lawyers. Which of the following do these actions demonstrate?
A. Chain of custody B. Order if volatility C. Data analysis D. Tracking man hours and expenses
Computer Science & Information Technology
A disadvantage of the token-ring system is that if an error changes the token pattern, it can cause the token to stop circulating. This can be eliminated by adding which of the following?
a. Router b. Multiport repeater c. Token passer d. Token-ring hub
Computer Science & Information Technology