Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

Java (sun-jdk-1.8.0_51) sample

/* package whatever; // don't place package name! */
 
import java.io.*;
 
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
		BufferedReader r = new BufferedReader (new InputStreamReader (System.in));
		String s;
		while (!(s=r.readLine()).startsWith("42")) System.out.println(s);
	}
}
Comment

PREVIOUS NEXT
Code Example
Java :: Java program to find largest of three numbers using nested if 
Java :: Convert Java File to Kotlin File 
Java :: java to kotlin online converter 
Java :: httpsession vs cookie servlet 
Java :: jav convert array as list to array 
Java :: using new to create arrays 
Java :: what is instance block in java 
Java :: Java catch Keyword 
Java :: what is minecraft default render distance 
Java :: Java Public Access Modifier package two 
Java :: draw an icon in between swiped area android 
Java :: Uri/Beecrowd problem no - 1150 solution in Java 
Java :: java optional input for funktions 
Java :: delete row entity jpa java 
Java :: compile time exception in java 
Java :: hollow rectangle pattern in java 
Java :: Pattern using recursion in Java 
Java :: how to check if parsing in integer is possible in java 
Java :: exmple of methods in java 
Java :: how to insert a char at n position java 
Java :: check if item lore is something bukkit 
Java :: Example of "this" : to invoke current class method 
Java :: getter and setter in java 
Java :: java byte array to blob 
Java :: arraylist add method 
Java :: java string stringbuilder remove trailing comma 
Java :: find power of number in method java 
Java :: java hello world program 
Java :: get my jre path 
Java :: save text in edditext java 
ADD CONTENT
Topic
Content
Source link
Name
1+4 =