Computer Science, asked by dharnieeshjai23, 15 days ago

what are the different ways to give inputs in a java program​

Answers

Answered by Anonymous
6

Answer:

Java provides the following ways to give input in a program:

Using Function Argument.

Using InputStreamReader class.

Using Scanner class.

Using Command Line Arguments.

Explanation:

hope it helps

please mark me brainliest

Answered by mishrajyotsana20
1

Answer:

Java provides the following ways to give input in a program:

  • Using Function Argument.
  • Using InputStreamReader class.
  • Using Scanner class.
  • Using Command Line Arguments.

Similar questions