Java input and output, please!

CSDN Q & A 2022-02-13 06:32:02 阅读数:573

java input output

seek java The format of input and output is a little confused , Especially the output , The more detailed, the better !




Take the answer :

Terminal output system.out.println(), Numbers 、 character string 、 Yes tostring() Method can use this function to output . Other input and output streams can refer to :
https://blog.csdn.net/zhaoyanjun6/article/details/54292148
https://blog.csdn.net/msk_zn/article/details/73385467



Other answers 2:

java All the inputs and outputs are flow
Then the flow is divided into 2 Factions
One is byte stream
The other is the character stream
Concrete The details need to be understood by yourself , Look more 2 A stream of demo To understand the

copyright:author[CSDN Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130631595530.html