Skip to main content

Run Java Code Directly Online

Start learning Java? New to Java?
Check result here: http://ideone.com/ENkLN


No need to have compiler right now in your PC, you can test it online with following site:

Rextester.com

Choose Java language, edit or write your class, Press F8 (Run it), you will got the result or error info.

Ideone.com

The same as rextester above, choose Java language, write your code and click Run.

Easy? Test it right now and share your thought.

If you want to see more online compiler check it out in StackOverflow

Comments

Popular posts from this blog

Oracle ships Java 7 Update 11 with vulnerability fixes, increased security level for Java applets

According to The Next Web, Oracle has released Java 7 Update 11 to address t he recently disclosed security vulnerability. If you use Java, you can download the latest update now from the Java Control Panel or directly from Oracle’s website here: Java SE 7u11 . Check it out now! -- Source: TheNextWeb

Exercise 1: 99 Bottles of Beer

Let’s put all your new Java skills to good use with something practical. We need a class with a main(), an int and a String variable, a while loop, and an if test. A little more polish, and you’ll be building that business backend in no time. But before you look at the code on this page, think for a moment about how you would code that classic children’s favorite, “99 bottles of beer.” There’s still one little flaw in our code. It compiles and runs, but the output isn’t 100% perfect. See if you can spot the flaw , and fix it. public class BeerSong { public static void main (String[] args) { int beerNum = 99; String word = “bottles”; while (beerNum > 0) { if (beerNum == 1) { word = “bottle”; // singular, as in ONE bottle. } System.out.println(beerNum + “ ” + word + “ of beer on the wall”); System.out.println(beerNum + “ ” + word + “ of beer.”); System.out.println(“Take one down.”); System.out.println(“Pass it around.”); beerNum = beerNum - 1; if (

What will happen to the world without JAVA ? [Video Trailler]

It supposes to write one run every where. Usin "compiled to bytecode" to run equally for all. "FOREVER IS A LONG TIME" Watch the trailer for what happen if the world without Java