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
//Palindrome.java class Palindrome{ public static void isPalindrome(String word) { int length = word.length();
...
-
1 2 3 4 5 6 7 8 9
import java.util.Scanner; class nitin { public static void main(String []args) { int x,y,z; Scanner s=new Scanner(System.in); x=s.nextInt(); y=s.nextInt();
...
-
1 2 3 4 5 6 7 8 9
//Palindrome.java class Palindrome{ public static void isPalindrome(String word) { int length = word.length();
...
-
1 2 3 4 5 6 7 8
class Demo1 { void meth1() { System.out.print("Demo1.Method2"); } } class Demo2 extends Demo1 { void method1() { System.out.println("Demo2.Method1"); } public static void main(String[] args) { ((Demo1)new Demo2()).meth1(); } }
-
1 2 3 4 5 6 7 8 9
//Palindrome.java class Palindrome{ public static void isPalindrome(String word) { int length = word.length();
...
-
1 2 3 4 5 6 7 8
parent class constructor: Parent(String Object, String Object2...) therefore: super Parent(Object, Object2...) + object 3 = o3, object 4 = o4. instead of copying the method from the parent class that might be useful in further programming we may as well use super(0) method.
-
1 2 3 4 5 6 7 8 9
class iMath{ public static void main(String args[]){ System.out.println("This is absolute method:" + Math.abs(-2.7)); System.out.println("This is ceil method:" + Math.ceil(2.7)); System.out.println("This is floor method:" + Math.floor(2.7)); System.out.println("This is Min method:" + Math.min(2.7,1.7)); System.out.println("This is Max method:" + Math.max(2.7,1.7)); System.out.println("This is pow method:" + Math.pow(6,3)); System.out.println("This is pow method:" + Math.sqrt(216));
...
-
1 2 3 4 5 6 7 8 9
//Palindrome.java class Palindrome{ public static void isPalindrome(String word) { int length = word.length();
...
-
1 2 3 4 5 6 7 8 9
private class StringHash { private int size = 16; private int numberOfElements=0; private ListElement[] hashTable = new ListElement[size]; private ListElement temp; private class ListElement{ public String data; public ListElement next;
...
-
1 2 3 4 5 6 7 8 9
class iMath{ public static void main(String args[]){ System.out.println("This is absolute method:" + Math.abs(-2.7)); System.out.println("This is ciel method:" + Math.Ciel(2.7)); System.out.println("This is floor method:" + Math.floor(2.7)); System.out.println("This is Min method:" + Math.min(2.7,1.7)); System.out.println("This is Max method:" + Math.max(2.7,1.7)); System.out.println("This is pow method:" + Math.pow(6,3)); System.out.println("This is pow method:" + Math.sqrt(216));
...
-
1 2 3 4 5 6 7 8 9
public class StringHash { private int size = 16; private int numberOfElements=0; private ListElement[] hashTable = new ListElement[size]; private ListElement temp; private class ListElement{ public String data; public ListElement next;
...
-
1 2 3 4 5 6 7 8 9
import java.util.Scanner; class nitin { public static void main(String []args) { int x,y,z; Scanner s=new Scanner(System.in); x=s.nextInt(); y=s.nextInt();
...
-
1 2 3 4 5 6 7 8 9
//Palindrome.java class Palindrome{ public static void isPalindrome(String word) { int length = word.length();
...
-
1 2 3 4 5 6 7 8 9
import java.util.Scanner; class nitin { public static void main(String []args) { int x,y,z; Scanner s=new Scanner(System.in); x=s.nextInt(); y=s.nextInt();
...
-
1 2 3 4 5 6 7 8
parent class constructor: Parent(String Object, String Object2...) therefore: super Parent(Object, Object2...) + object 3 = o3, object 4 = o4. instead of copying the method from the parent class that might be useful in further programming we may as well use super(0) method.
-
1 2 3 4 5 6 7 8 9
import java.util.Scanner; class nitin { public static void main(String []args) { int x,y,z; Scanner s=new Scanner(System.in); x=s.nextInt(); y=s.nextInt();
...
-
1 2 3 4 5 6 7 8 9
public class StringHash /*implements StringDictionary*/ { private int size = 16; private int numberOfElements=0; private ListElement[] hashTable = new ListElement[size]; private ListElement temp; private class ListElement{
...
-
1 2 3 4 5 6 7 8 9
//Palindrome.java class Palindrome{ public static void isPalindrome(String word) { int length = word.length();
...
-
1 2 3 4 5 6 7 8 9
//Palindrome.java class Palindrome{ public static void isPalindrome(String word) { int length = word.length();
...
-
1 2 3 4 5 6 7 8 9
//Palindrome.java class Palindrome{ public static void isPalindrome(String word) { int length = word.length();
...
-
1 2 3 4 5 6 7 8 9
//Palindrome.java class Palindrome{ public static void isPalindrome(String word) { int length = word.length();
...
-
1 2 3 4 5 6 7 8 9
class Award{ void show() { System.out.println("Award"); } } class Accept extends Award{ public static void main(String[] args) { Accept exer = new Accept(); exer.acceptAward();
...
-
1 2 3 4 5 6 7 8 9
class Abc { 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
//Palindrome.java class Palindrome{ public static void isPalindrome(String word) { int length = word.length();
...
-
1 2 3 4 5 6 7 8 9
//Palindrome.java class Palindrome{ public static void isPalindrome(String word) { int length = word.length();
...
-
1 2 3 4 5
class iMath{ public static void main(String args[]){ System.out.println(Math.abs(-2.7)); } }
-
1 2 3 4 5 6 7 8 9
//Palindrome.java class Palindrome{ public static void isPalindrome(String word) { int length = word.length();
...
-
1 2 3 4 5 6 7 8 9
//Palindrome.java class Palindrome{ public static void isPalindrome(String word) { int length = word.length();
...
-
1 2 3 4 5 6 7 8 9
//Palindrome.java class Palindrome{ public static void isPalindrome(String word) { int length = word.length();
...
-
1 2 3 4 5 6 7 8 9
//Palindrome.java class Palindrome{ public static void isPalindrome(String word) { int length = word.length();
...


