KnowledgeBoat Logo
|

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:

  1. Using Function Argument.
  2. Using InputStreamReader class.
  3. Using Scanner class.
  4. Using Command Line Arguments.

Answered By

135 Likes


Related Questions