Computer Science, asked by shella09874763152, 6 hours ago



1.What are input statements in Java?
2. What are the differences among them?

Answers

Answered by SujalTrivedi
1

Answer:

1. Java input and output is an essential concept while working on java programming. It consists of elements such as input, output and stream. The input is the data that we give to the program. To give input we use the input stream and to give output we use the output stream.

2.The first is reading from Standard Input the second is reading arguments passed in on the command line. The first is interactive input, the second is a one shot type input.

The first is reading from Standard Input the second is reading arguments passed in on the command line. The first is interactive input, the second is a one shot type input.For the second it is much better to use a library like Java Simple Argument Parser ( JSAP ). Rather than parsing and converting things yourself.

Explanation:

please mark me as brainliest

Similar questions