Answers for "java buffered reader example"

0

BufferredReader Class

package com.javatpoint;  
import java.io.*;  
public class BufferedReaderExample{    
public static void main(String args[])throws Exception{             
    InputStreamReader r=new InputStreamReader(System.in);    
    BufferedReader br=new BufferedReader(r);            
    System.out.println("Enter your name");    
    String name=br.readLine();    
    System.out.println("Welcome "+name);    
}    
}
Posted by: Guest on October-09-2020
3

declare bufferedreader java

BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
Posted by: Guest on February-20-2020

Code answers related to "java buffered reader example"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language