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
/* package whatever; // don't place package name! */ /* The class name doesn't have to be Main, as long as the class is not public. */ class Main { public static void main (String[] args) throws java.lang.Exception { Student s = new Student(); }
...
-
1 2 3 4 5 6 7 8 9
import java.util.*; import java.text.*; public class Main{ public static void main(String[] args) { try { Date date ; date = new Date(); System.out.println("Today is " +date.toString());
...
-
1 2 3 4 5 6 7 8 9
import java.util.*; import java.text.*; public class Main{ public static void main(String[] args) { try { String str_date="2012-02-10"; DateFormat formatter ; Date date ; formatter = new SimpleDateFormat("yyyy-MM-dd"); date = (Date)formatter.parse(str_date);
...
-
1 2 3 4 5 6 7 8 9
class nitin { public static void main(String[]args) { int i=0; do { System.out.println("The output is " +i); i++;
...
-
1 2 3 4 5 6 7 8 9
import java.util.*; import java.text.*; public class Main{ public static void main(String[] args) { try { String str_date="2012-02-10"; DateFormat formatter ; Date date ; formatter = new SimpleDateFormat("yyyy-MM-dd"); date = (Date)formatter.parse(str_date);
...
-
1 2 3 4 5 6 7 8 9
/* package whatever; // don't place package name! */ /* The class name doesn't have to be Main, as long as the class is not public. */ class Main { public static void main (String[] args) throws java.lang.Exception { java.io.BufferedReader r = new java.io.BufferedReader (new java.io.InputStreamReader (System.in)); String s;
...
-
1 2 3 4 5 6 7 8 9
/* package whatever; // don't place package name! */ /* The class name doesn't have to be Main, as long as the class is not public. */ class Main { public static void main (String[] args) throws java.lang.Exception { java.io.BufferedReader r = new java.io.BufferedReader (new java.io.InputStreamReader (System.in)); String s;
...
-
1 2 3 4 5 6 7 8 9
class nitin { public static void main(String[]args) { int i=0; while(i<=10) { System.out.println("The output is " +i); i++;
...
-
1 2 3 4 5 6 7 8 9
import java.util.*; import java.text.*; public class Main{ public static void main(String[] args) { try { String str_date="2012-02-10"; DateFormat formatter ; Date date ; formatter = new SimpleDateFormat("yyyy-MM-dd"); date = (Date)formatter.parse(str_date);
...
-
1 2 3 4 5 6 7 8 9
class Parent { private int test; public int getTest(){ return test; } public void setTest(int val){ test=val; } public static void main(String[] args){
...
-
1 2 3 4 5 6 7 8 9
import java.util.*; import java.text.*; public class Main{ public static void main(String[] args) { try { String str_date="11-June-07"; DateFormat formatter ; Date date ; formatter = new SimpleDateFormat("dd-MMM-yy"); date = (Date)formatter.parse(str_date);
...
-
1 2 3 4 5 6 7 8 9
import java.util.*; import java.text.*; public class Sample{ public static void main(String[] args) { try { String str_date="11-June-07"; DateFormat formatter ; Date date ; formatter = new SimpleDateFormat("dd-MMM-yy"); date = (Date)formatter.parse(str_date);
...
-
1 2 3 4 5 6 7 8 9
import java.util.*; import java.text.*; public class sample{ public static void main(String[] args) { try { String str_date="11-June-07"; DateFormat formatter ; Date date ; formatter = new SimpleDateFormat("dd-MMM-yy"); date = (Date)formatter.parse(str_date);
...
-
1 2 3 4 5 6 7 8 9
class nitin { public static void main(String[]args) { int i; for(i=0;i<=10;i++) { System.out.println("The output is " +i); }
...
-
1 2 3 4 5 6 7 8 9
mport java.util.*; import java.text.*; public class sample{ public static void main(String[] args) { try { String str_date="11-June-07"; DateFormat formatter ; Date date ; formatter = new SimpleDateFormat("dd-MMM-yy"); date = (Date)formatter.parse(str_date);
...
-
1 2 3 4 5 6 7 8 9
class A { int s; public void setName(int a ) {s=a;} public int getName() { return s; }
...
-
1 2 3 4 5 6 7 8 9
class nitin { public static void main(String[]args) { for(i=0;i<=10;i++) { System.out.println("The output is " +i); } }
-
1 2 3 4 5 6 7 8 9
class A { int s; public void setName(int a ) {s=a;} public int getName() { return s; }
...
-
1 2 3 4 5 6 7 8
class Main { public static void main(String[] args) { int a = 3; int b = 4; System.out.printf("%d %d\n", a, b); // what do I do next? } }
-
1 2 3 4 5 6 7 8 9
class A { int s; public void setName(int a ) {s=a;} public int getName() { return s; }
...
-
1 2 3 4 5 6 7 8
class Main { public static void main(String[] args) { int a = new int(3); int b = new int(4); System.out.printf("%d %d\n", a, b); // what do I do next? } }
-
1 2 3 4 5 6 7 8 9
class Test { public static void main(String[] args) { String s1 = new String("test"); String s2 = s1.replace('e', 's'); s1+=s1.concat("applet"); System.out.println(s1); System.out.println((s1+s2).charAt(5)); }
-
1 2 3 4 5 6 7 8 9
import java.util.*; import java.lang.*; class Main { public static void main(String[] args) { System.out.println(getInt()); }
...
-
1 2 3 4 5 6 7 8 9
class A { int s; public void setName(int a ) {s=a;} public int getName() { return s; }
...
-
1 2 3 4 5 6 7 8 9
/* package whatever; // don't place package name! */ /* The class name doesn't have to be Main, as long as the class is not public. */ class Main { public static void main (String[] args) throws java.lang.Exception { java.io.BufferedReader r = new java.io.BufferedReader (new java.io.InputStreamReader (System.in)); String s;
...
-
1 2 3 4 5 6 7 8 9
class Test { public static void main(String[] args) { String s1 = new String("test"); String s2 = s1.replace('e', 's'); s1.concat("applet"); System.out.println(s1); System.out.println((s1+s2).charAt(5)); }
-
1 2 3 4 5 6 7 8 9
class A { int s; public void setName(int a ) {s=a;} public int getName() { return s; }
...
-
1 2 3 4 5 6 7 8 9
class Parent { private int test; public int getTest(){ return test; } public void setTest(int val){ test=val; } public static void main(String[] args){
...
-
1 2 3 4 5 6 7 8 9
/* package whatever; // don't place package name! */ /* The class name doesn't have to be Main, as long as the class is not public. */ class Main { public static void main (String[] args) throws java.lang.Exception { java.io.BufferedReader r = new java.io.BufferedReader (new java.io.InputStreamReader (System.in)); String s;
...
-
1 2 3 4 5 6 7 8 9
class A { int s; public void setName(int a ) {s=a;} public int getName() { return s; }
...


