1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Java-IO package

Discussion in 'Java' started by Boaz, Sep 15, 2012.

  1. Boaz

    Boaz New Member

    Joined:
    Sep 3, 2012
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    dear all,,
    can someone help me with these questions,,
    what are the things i should concentrate in java IO package,,!
    and what are the sections or topics Core Java Contains,,!
    please reply,,,!
     
  2. state

    state New Member

    Joined:
    Sep 14, 2011
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    0
    Hi Boaz
    Core Java:http://www.javatpoint.com/
    As for Java Input/Output study reading and writing of files using the various classes(BufferedReader,InputStreamReader) and the difference between them.
    There is whole lot of other stuff to study.Don't stop here.These are just the basics.
    Good Luck
     
  3. abenmariem

    abenmariem New Member

    Joined:
    Nov 18, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    JAVA/JEE Consultant
    Location:
    Tunisia
    Home Page:
    Please, check the tutorial which deals with BufferedReader and InputStreamReader in the how-to-program-in-java dot com website.
     
  4. alia123

    alia123 New Member

    Joined:
    Jan 8, 2016
    Messages:
    65
    Likes Received:
    5
    Trophy Points:
    0
    Hey,there an online tutorial of W3schools,go through it.You will get the best out of it as the material in it is from basic.Other link" http://www.tutorialspoint.com/java/io/ "from here you will get the IO package and the material as well that is important.
    Good Luck
     
  5. priya456

    priya456 New Member

    Joined:
    Jul 7, 2017
    Messages:
    26
    Likes Received:
    2
    Trophy Points:
    3
    Gender:
    Female
    Java I/O is used to process the input and produce the output. Java uses the concept of stream to make I/O operation fast. The java.io package contains all the classes required for input and output operations.
     
  6. meenal deshpande

    meenal deshpande New Member

    Joined:
    Oct 11, 2018
    Messages:
    20
    Likes Received:
    2
    Trophy Points:
    3
    Gender:
    Female
    Java uses the concept of a stream to make I/O operation fast. The java.io package contains all the classes required for input and output operations.

    We can perform file handling in Java by Java I/O API.

    Stream
    A stream is a sequence of data. In Java, a stream is composed of bytes. It's called a stream because it is like a stream of water that continues to flow.

    In Java, 3 streams are created for us automatically. All these streams are attached with the console.

    1) System.out: standard output stream

    2) System.in: standard input stream

    3) System.err: standard error stream

    Let's see the code to print output and an error message to the console.

    Let's see the code to get input from console.
     
    Last edited: Nov 19, 2018
  7. sayalipatil

    sayalipatil New Member

    Joined:
    Dec 18, 2018
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Gender:
    Female
    Home Page:
    The import is use to include something in our java program.the IO is The Basic Input Output From the user to java applicationso,If You Want to use input from the user side at the black console than you have to use import java.io.* package or super class that has all the method and function to performing operations like “Input From user”
    Bcoz the Java Input Is Uses Bufferized Input.
     

Share This Page