Accept input Using BufferedReader Class in Java

// Java program to Accept input Using Buffered Reader Class in Java

class AcceptInput
public static void main(String[] args) throws IOException
        BufferedReader reader = new BufferedReader(new InputStreamReader(;
        String name = reader.readLine();
        System.out.println("Hello : "+name);


Share with your Friends...
One comment

I was more than happy to uncover this great site. I need to to thank you for your time due to this fantastic read!! I definitely enjoyed every bit of it and I have you bookmarked to see new information on your blog.

Leave a Comment

Your email address will not be published. Required fields are marked *