what are the different ways to give inputs in a java program
Answers
Answered by
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
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