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
class 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
public class hi(){ public static void main(String[] args){ System.out.println("Hello"); } }
-
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]; int curPos; for(int i = 0; i < newArray.length; i++){ newArray[curPos] = array1[i]; curPos++;
...
-
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]; int curPos = 0; for(int i = 0; i < newArray.length - 3; i++){ newArray[curPos] = array1[i]; curPos++;
...
-
1 2 3 4 5 6 7 8 9
public class Main { public static void main(String ... args) { System.err.println(float.class.isInstance(0.0/0.0)); System.err.println(float.class.isInstance(0.0)); System.err.println(int.class.isInstance(3)); } }
-
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]; int curPos = 0; for(int i = 0; i < newArray.length - 3; i++){ newArray[curPos] = array1[i]; curPos++;
...
-
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]; int curPos = 0; for(int i = 0; i < newArray.length; i++){ newArray[curPos] = array1[i]; curPos++;
...
-
1 2 3 4 5 6 7
class Funda{ public static void main(String args[]){ int val1=12; val1+=val1+val1; System.out.println(--val1 -val1); } }
-
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]; int curPos = 0; for(int i = 0; i < newArray; i++){ newArray[curPos] = array1[i]; curPos++;
...
-
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]; int curPos = 0; for(int i = 0; i < newarray; i++){ newArray[curPos] = array1[i]; curPos++;
...
-
1 2 3 4 5 6 7 8 9
class demo { public static void main(String[] args) { int i=1; while(i--) { system.out.println(i+" "); } } }
-
1 2 3 4 5 6 7
public class Main { public static void main(String ... args) { System.err.println(float.class.isInstance(0.0/0.0)); } }
-
1 2 3 4 5 6 7
public class Main { public static void main(String ... args) { System.err.println(double.class.isInstance(0.0/0.0)); } }
-
1 2 3 4 5 6 7 8 9
import java.util.*; import java.lang.*; import org.quartz.CronExpression; class Main { public static void main (String[] args) throws java.lang.Exception { System.out.println(getNextRunTime("0 0/60 * ? * MON-FRI"));
...
-
1 2 3 4 5 6 7
public class Main { public static void main(String ... args) { System.err.println(0.0/0.0 instanceof double.class); } }
-
1 2 3 4 5 6 7
public class Main { public static void main(String ... args) { System.err.println(0.0/0.0 instanceof double); } }
-
1 2 3 4 5 6 7
class Funda{ public static void main(String args[]){ int val1=12; val1+=val1+val1; System.out.println(val1-- -val1); } }
-
1 2 3 4 5 6 7 8 9
import java.util.*; import java.lang.*; class Main { public static void main (String[] args) throws java.lang.Exception { System.out.println(getNextRunTime("0 0/60 * ? * MON-FRI")); }
...
-
1 2 3 4 5 6 7
public class Main { public static void main(String ... args) { System.err.println(new Double(0.0/0.0).getClass()); } }
-
1 2 3 4 5 6 7
public class Main { public static void main(String ... args) { System.err.println((0.0/0.0).getClass()); } }
-
1 2 3 4 5 6 7
class Funda{ public stativ void main(String args[]){ int val1=12; val1+=val1+val1; System.out.println(val1-- -val1); } }
-
1 2 3 4 5 6 7 8 9
class OverloadDemo { void test() { System.out.println("No parameters"); } // Overload test for one integer parameter. void test(int a) { System.out.println("a: " + a); } // Overload test for two integer parameters.
...
-
1 2 3 4 5 6 7
public class Main { public static void main(String ... args) { System.err.println(typeof(0.0/0.0)); } }
-
1 2 3 4 5 6 7
public class Main { public static void main(String ... args) { System.err.println(0.0/0.0); } }
-
1 2 3 4 5 6 7 8 9
class OverloadDemo { void test() { System.out.println("No parameters"); } // Overload test for one integer parameter. void test(int a) { System.out.println("a: " + a); } // Overload test for two integer parameters.
...
-
1 2 3 4 5 6 7 8 9
package com.mail; /* * Copyright (c) 1997-2010 Oracle and/or its affiliates. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: *
...
-
1 2 3 4 5 6 7 8 9
class Sphere { double radius; // Radius of a sphere Sphere() { } // Class constructor Sphere(double theRadius) { radius = theRadius; // Set the radius } }
...
-
1 2 3 4 5 6 7 8
public class MainClass { double getSalary() { return 0.0; } }
...
-
1 2 3 4 5 6 7 8 9
class Sphere { double radius; // Radius of a sphere Sphere() { } // Class constructor Sphere(double theRadius) { radius = theRadius; // Set the radius } }
...
-
1 2 3 4 5 6 7 8 9
class Testing{ public static void main(String[]args){ int intx=100; boolean BVal1=true; boolean BVal2=false; if((intx!=4)&&(intx>=99)||!BVal1) System.out.print("Accenture"); System.out.print("idc"); BVal2=BVal1;
...


