Free Ideone API
try it now!
Your great ideas will be born here
Recent public pastes are listed below. You can filter them by the following programming languages:
- view
- All
- Ada
- Assembler
- AWK (gawk)
- AWK (mawk)
- Bash
- bc
- Brainf**k
- C
- C#
- C++
- C99 strict
- CLIPS
- Clojure
- COBOL
- COBOL 85
- Common Lisp (clisp)
- D (dmd)
- Erlang
- F#
- Factor
- Falcon
- Forth
- Fortran
- Go
- Groovy
- Haskell
- Icon
- Intercal
- Java
- JavaScript (rhino)
- JavaScript (spidermonkey)
- Lua
- Nemerle
- Nice
- Nimrod
- Ocaml
- Oz
- Pascal (fpc)
- Pascal (gpc)
- Perl
- Perl 6
- PHP
- Pike
- Prolog (gnu)
- Prolog (swi)
- Python
- Python 3
- R
- Ruby
- Scala
- Scheme (guile)
- Smalltalk
- Tcl
- Text
- Unlambda
- Visual Basic .NET
- Whitespace
-
1 2 3 4 5 6 7 8
import java.util.ArrayList; import java.util.List; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; class Pessoa{ public String nome;
...
-
1
System.out.println("123");
-
1 2 3 4 5 6 7 8 9
import java.util.Scanner; public class Date { public static void main (String [] args) { Scanner keyboards = new Scanner (System.in); double entree, beverage, ticket, FoodTax, Tip, MovieTax, EntreeSubtotal, BeverageSubtotal, MealTotal, MovieTotal, Movie, total;
...
-
1 2
double quotient2 = 15/4; System.out.print("15/4 is " + quotient2);
-
1 2
int quotient1 = 15/4; System.out.println(" 15/4 is " + quotient1);
-
1 2 3 4 5 6 7 8 9
int sum1 = 10+5; double sum2 = 10+5.0; int quotient1 = 15/4; double quotient2 = 15/4; double quotient3 = 15/4.0; int remainder1 = 15 % 4; double remainder2 = 17.84 % 2.3;
...
-
1 2 3 4 5 6 7 8
import java.util.ArrayList; import java.util.List; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; class Pessoa{ public String nome;
...
-
1 2 3 4 5 6 7 8
import java.util.ArrayList; import java.util.List; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; class Pessoa{ public String nome;
...
-
1 2 3 4 5 6 7 8
import java.util.ArrayList; import java.util.List; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; class Pessoa{ public String nome;
...
-
1 2 3 4 5 6 7 8
import java.util.ArrayList; import java.util.List; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; class Pessoa{ public String nome;
...
-
1 2 3 4 5 6 7 8 9
public class Main { public Test getTest1() { return Test.TEST1; } public static void main(String[] args) { Main m = new Main(); System.out.println(m.getTest1());
...
-
1 2 3 4 5 6 7 8 9
public class Main { public enum Test { TEST1, TEST2; public Test() { } } public Test getTest1() {
...
-
1 2 3 4 5 6 7 8 9
public class Main { private enum Test { TEST1, TEST2; Test() { } } public Test getTest1() {
...
-
1 2 3 4 5 6 7 8
public class Main { private enum Test { TEST1, TEST2; public Test() { //public enum ctor } }
...
-
1 2 3 4 5 6 7 8 9
import java.util.ArrayList; import java.util.List; class Pessoa{ public String nome; public Pessoa(String nome){ this.nome = nome; }
...
-
1 2 3 4 5 6 7 8 9
iimport java.util.ArrayList; import java.util.List; class Pessoa{ public String nome; public Pessoa(String nome){ this.nome = nome; }
...
-
1 2 3 4 5 6 7 8 9
import java.util.ArrayList; import java.util.List; class Pessoa{ public String nome; public Pessoa(String nome){ this.nome = nome; }
...
-
1 2 3 4 5 6 7 8 9
import java.util.ArrayList; import java.util.List; class Pessoa{ public String nome; public Pessoa(String nome){ this.nome = nome; }
...
-
1 2 3 4 5 6 7 8 9
char letter1 = 'J'; char letter2 = 'a'; char letter3 = 'v'; char letter4 = 'a'; System.out.print("The letters of the word "); System.out.print(letter1); System.out.print(letter2); System.out.print(letter3);
...
-
1 2 3 4 5 6 7 8 9
import java.util.ArrayList; import java.util.List; class Pessoa{ public String nome; public Pessoa(String nome){ this.nome = nome; }
...
-
1 2 3 4 5 6 7 8 9
public class Selfdestruct { int muerte=0; double k=0; double nota=0; public Selfdestruct(double nota_calculo_II){ nota= nota_calculo_II;}
...
-
1 2 3 4 5 6 7 8 9
public class Main { private enum Test { TEST1, TEST2; } public Test getTest1() { return Test.TEST1; }
...
-
1 2 3 4 5 6 7 8 9
enum Main { TYPE1(4.5, "string1"), TYPE2(2.79, "string2"); double num; String st; Main(double num, String st) { this.num = num; this.st = st;
...
-
1 2 3 4 5 6 7 8 9
enum enumTest { TYPE1(4.5, "string1"), TYPE2(2.79, "string2"); double num; String st; enumTest(double num, String st) { this.num = num; this.st = st;
...
-
1 2 3 4 5 6 7 8 9
import java.util.*; // Imports all java.util subclasses. public class Main { public static void main (String[] args) { System.out.println("#2"); int size1 = 100; int size2 = 1000;
...
-
1 2 3 4 5 6 7 8 9
import java.util.*; // Imports all java.util subclasses. public class Main { public static void main (String[] args) { System.out.println("#2"); int size1 = 100; int size2 = 1000;
...
-
1 2 3 4 5 6 7 8 9
import java.util.*; // Imports all java.util subclasses. public class Main { public static void main (String[] args) { System.out.println("#2"); int size1 = 100; int size2 = 1000;
...
-
1 2 3 4 5 6 7 8 9
import java.util.*; // Imports all java.util subclasses. public class Lab2 { public static void main (String[] args) { System.out.println("#2"); int size1 = 100; int size2 = 1000;
...
-
1 2 3 4 5 6 7 8 9
import javax.swing.JOptionPane; //declaring classes class Person { private String name; private String ssn; Person(){}
...
-
1 2 3 4 5 6 7 8 9
abstract class Abs { Object item; Object getItem(){return item;} } class A extends Abs { String item; A(String item){this.item=item;} String getItem(){return item;} }
...
