Recent public codes are listed below. You can filter them by the following programming languages:
- view
- All
- Ada
- Assembler
- Assembler
- AWK (gawk)
- AWK (mawk)
- Bash
- bc
- Brainf**k
- C
- C#
- C++
- C++0x
- 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
- Objective-C
- Ocaml
- Oz
- Pascal (fpc)
- Pascal (gpc)
- Perl
- Perl 6
- PHP
- Pike
- Prolog (gnu)
- Prolog (swi)
- Python
- Python 3
- R
- Ruby
- Scala
- Scheme (guile)
- Smalltalk
- SQL
- Tcl
- Text
- Unlambda
- VB.NET
- Whitespace
-
1 2 3 4 5 6 7 8 9
public class Main{ public static void main(String[] args) { float f = 10.56f; /* Use Float constructor to convert float primitive type to a Float object. */
...
-
1 2 3 4 5 6
class XPTO{ public static void main(String ...args){} public static String main(String ...args){} }
-
2 hours 32 minutes ago view (lines: 10, size: 181, inputs: 1) Java Compilation error kusumathatavarthi
1 2 3 4 5 6 7 8 9
class Test { public static void main(String[] args) { System.out.println(getInt()); } private static int getInt() { //FIXME: implement return k-'0'; }
-
1 2 3 4 5 6 7 8
public class Factorial Test { public static void main(string args[]) { FactorialCalculater factorialcalculator = new FactorialCalculator(); FactorialCalculator.displayFactorials(); } }
-
1 2 3 4 5 6 7 8 9
import java.util.*; class RandomClassTest { public static void main(String[] args) { Random randNumGenerator = new Random(); int[] x = new int[7];
...
-
1 2 3 4 5 6 7 8 9
import java.util.*; public class RandomClassTest { public static void main(String[] args) { Random randNumGenerator = new Random(); int[] x = new int[7];
...
-
1 2 3 4 5 6 7 8 9
public class Carte { // the Carte class has // three fields public int titlu; public int pagini; public int an;
...
-
1 2 3 4 5 6 7 8 9
public class Carte { // the Carte class has // three fields public int titlu; public int pagini; public int an;
...
-
1 2 3 4 5
class A{ public static void main(String a[]){ System.out.println(a[0]); } }
-
1 2 3 4 5 6 7 8 9
//ArrayCombine.java class ArrayCombine { public static int[] arrayCombine(int[] a, int[] b){ int[] combined = new int[a.length + b.length]; System.arraycopy(a, 0, combined, 0, a.length); System.arraycopy(b, 0, combined, a.length, b.length); return combined;
...
-
1 2 3 4 5 6 7 8 9
public class Carte { // the Carte class has // three fields public int titlu; public int pagini; public int an;
...
-
1 2 3 4 5 6 7 8 9
//ArrayCombine.java class ArrayCombine { public static int[] arrayCombine(int[] a, int[] b){ int[] combined = new int[a.length + b.length]; System.arraycopy(a, 0, combined, 0, a.length); System.arraycopy(b, 0, combined, a.length, b.length); return combined;
...
-
1 2 3 4 5 6 7 8 9
//ArrayCombine.java class ArrayCombine { public static int[] arrayCombine(int[] a, int[] b){ int[] combined = new int[a.length + b.length]; System.arraycopy(a, 0, ret, 0, a.length); System.arraycopy(b, 0, ret, a.length, b.length); return combined;
...
-
1 2 3 4 5 6 7 8 9
public class Carte { // the Carte class has // three fields public int titlu; public int pagini; public int an;
...
-
1 2 3 4 5
public static void main(String[] args){ System.out.println(new String[]("test")); }
-
1 2 3 4 5 6 7 8 9
public class TestBox{ Integer i; int j; public static void main(String args[]){ TestBox t = new TestBox(); t.los(); } public void los(){
...
-
1 2 3 4 5
public static main(String[] args){ System.out.println(new String[]("test")); }
-
1 2 3 4 5 6 7 8 9
public class Carte { // the Carte class has // three fields public int titlu; public int pagini; public int an;
...
-
1 2 3 4 5 6 7 8 9
public class Carte { // the Carte class has // four fields public int autor; public int titlu; public int pagini; public int an;
...
-
1 2 3 4 5 6 7 8 9
import java.util.*; import java.lang.*; class l1SumDigits { public static void main (String[] args) throws java.lang.Exception { System.out.println("Enter a number consisting of up to 200 digits:"); Scanner in = new Scanner(System.in);
...
-
1 2 3 4 5 6 7
class Funda{ public static void main(String args[]){ int val1=12; val1+=val1+val1; System.out.write(val1-- -val1); } }
-
1 2 3 4 5 6 7 8 9
class Main { public static void main(String[] args) { String s = "hello"; String t = "hello"; System.out.println(s == t); String u = new String(t); System.out.println(s == u); System.out.println(s.equals(u)); }
-
1 2 3 4
if( new Boolean("true") == new Boolean("true")) System.out.println("True"); else System.out.println("False")
-
1 2 3 4 5 6 7
class Acc_IO1{ public static void main(String a[]){ int ascii; ascii = 'a'; System.out.write(ascii); } }
-
1 2 3 4 5 6 7 8 9
public void myMethod(Object obj) { try { String x = (String) obj; System.out.println(x.length()); } catch (...) { System.out.println(....); } catch (...) { System.out.println(....); }
-
1 2 3 4 5 6 7 8 9
//ArrayCombine.java class ArrayCombine{ public static int[] combine(int[] array1, int[] array2){ int[] newArray = new int[array1.length + array2.length]; for(int i = 0; i < array1.length; i++){ newArray[i] = array1[i]; }
...
-
1 2 3 4 5 6 7 8 9
public class Bicycle { // the Bicycle class has // three fields public int cadence; public int gear; public int speed; // the Bicycle class has
...
-
1 2 3 4 5 6 7 8 9
lass Book { /** variable title */ String title; /** special method called CONSTRUCTOR * called when object was created */ Book(String title) { this.title = title; }
...
-
1 2 3 4 5 6 7 8
//ArrayCombine.java class ArrayCombine{ public static int[] combine(int[] array1, int[] array2){ int[] newArray = new int[array1.length + array2.length]; for(int i = 0; i < array1.length; i++){ newArray[i] = array1[i];
...
-
1 2 3 4 5 6 7 8
public class Test { public static void main(String[] args){ int i = 010; int j = 07; System.out.println(i); System.out.println(j); } }


