If a function in java is declared private then it __________________
Can access the standard output
Can’t access the standard output
Can’t access any output stream
Can access only the output streams
Answer and explanation
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.
