Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

Java read in

int i=System.in.read();//returns ASCII code of 1st character  
System.out.println((char)i);//will print the character  
Comment

PREVIOUS NEXT
Code Example
Java :: java double to string fixed precision 
Java :: Java 8 merge 2 collections. 
Java :: Simple For Loop Java Example 
Java :: how to reverse numbers in java 
Java :: fibonacci of 6 
Java :: fill array java 
Java :: java string loop backwards 
Java :: Spigot how to get block player is looking at 
Java :: java 2d jagged array example 
Java :: how to change datatypes in java 
Java :: increment an array java 
Java :: garbage collection in java 
Java :: set style programmatically android 
Java :: change element in array java 
Java :: double to int 
Java :: java finally block 
Java :: int conversion to float 
Java :: fill array with random numbers 
Java :: islowercase java 
Java :: classpath 
Java :: java.sql.SQLSyntaxErrorException: Unknown column 
Java :: how to compare two strings in java 
Java :: calling static method in java 
Java :: types of exception in java 
Java :: for loop in java 
Java :: Java try...finally block 
Java :: program Pr115_3; var k, n : integer; suma : real; begin readln(n); suma := 0; for k := 1 to n do suma := suma + 1 / sqr(2*k+1); writeln(suma); readln; end. 
Java :: add element to arraylist of arraylist java 
Java :: convert kotlin code to java 
Java :: java get first not null element 
ADD CONTENT
Topic
Content
Source link
Name
9+8 =