Computer Applications
What are the different ways to give input in a Java Program?
Input in Java
212 Likes
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.
Answered By
135 Likes