English

What are the different ways to give input in a Java Program? - Computer Applications

Advertisements
Advertisements

Question

What are the different ways to give input in a Java Program? 

Answer in Brief

Solution

The different ways to give input in a Java Program are:

  1. Using function argument
  2. Using InputStreamReader class
  3. Using Scanner class
  4. Using the Command Line argument
shaalaa.com
  Is there an error in this question or solution?
Chapter 1.06: Input in Java - EXERCISES [Page 66]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 1.06 Input in Java
EXERCISES | Q IV. 1. | Page 66
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×