Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

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);    
}    
}  
Comment

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);    
}    
}  
Comment

PREVIOUS NEXT
Code Example
Java :: java hashcode 
Java :: Bad notification for startForeground: java.lang.RuntimeException: invalid channel for service notification: Notification 
Java :: json array to list in java 
Java :: android textview center align text programmatically 
Java :: java list select field 
Java :: add character to a string java 
Java :: define an array of size n in java 
Java :: java stop script 
Java :: default parameters in java 
Java :: volley android 
Java :: set view size android 
Java :: char to ascii java 
Java :: convert int to byte java 
Java :: declare java class 
Java :: java enum 
Java :: java arrayList of array to array of array 
Java :: get list data in java 
Java :: rider find and replace 
Java :: initialize an array in java 
Java :: stringbuilder insert beginning 
Java :: java ignore catch 
Java :: java how to fill an array 
Java :: convertir string a char java 
Java :: java super keyword 
Java :: html alert box android 
Java :: jcolorchooser in java 
Java :: how to use string variables with an if statement in java 
Java :: java set operations 
Java :: how to get cpu model number in android programmatically 
Java :: java set classpath 
ADD CONTENT
Topic
Content
Source link
Name
3+6 =