Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Java read in

int i=System.in.read();//returns ASCII code of 1st character  
System.out.println((char)i);//will print the character  
Source by www.javatpoint.com #
 
PREVIOUS NEXT
Tagged: #Java #read
ADD COMMENT
Topic
Name
4+4 =