ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
If a function in java is declared private then it __________________
Correct Answer: A — Can access the standard output
The private members can access any standard input or output. There is no restriction on access to any input or output stream. And since standard input can also be used hence only accessing the output stream is not true.