0
What is an output
I always see what is the output of this string in the courses but I don't know what it means and it's hard to answer the question
6 Answers
+ 2
example in java:
System.out.print ("Hello!");
// Hello! is the output
+ 1
Input is what the program registers from the user, ie. asking the user to type a number. The info flows from out to in.
System.in() <---- input
Output is the opposite, it's what the program shows the user. The info flows from in to out.
System.out() ----> output
Hope this helps.
0
output is the thing that the program should print
0
The output could mean the result of the program (no matter what the program does).
0
out is a field in the System class used to output data
please have a look here to see some more fields and methods that can be applied to the system class
https://docs.oracle.com/javase/7/docs/api/java/lang/System.html
- 1
Run your program. The result of your program is the output. And what you type when your program run is the input.



