Computer Science, asked by dharnieeshjai23, 2 months ago

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

Answers

Answered by cute22314
1

Answer:

Java provides of following way to give inputs in a Java program

  • using function argument
  • using input stream reader class
  • using scanner class
  • using command like arguments
Answered by Anonymous
0

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