Geekpedia Programming Tutorials






Tutorials and Code Java Tutorials and Code

1 2 3
(18 tutorials and code in 3 pages)
Latest Tutorials: RSS Feed RSS Feed     KlipFolio Klip Klip     Add to Google    Add to My Yahoo!    Subscribe in NewsGator Online    Add To Windows Live    Subscribe with Bloglines   
Latest Code: RSS Feed RSS Feed     KlipFolio Klip Klip     Add to Google    Add to My Yahoo!    Subscribe in NewsGator Online    Add To Windows Live    Subscribe with Bloglines   
Tutorial

***--
2.5 from 2 votes

May 3rd 2008
by Louis Fernandez

Multithreading Fundamentals in Java

This tutorial covers how to create and manage threads in Java's multithreaded environment. It also explains the part that the Runnable interface plays in having classes run inside threads.

Code

-----
No votes

Apr 19th 2008
by Andrew Pociu

MD5 Encryption Using Java

Demonstrates how to encrypt a string using the MD5 algorithm in Java. Since MD5 is non-reversable, there is no code for decrypting the value.

Tutorial

*****
5 from 1 votes

Apr 16th 2008
by Louis Fernandez

Selection Sort Algorithm in Java

The selection sort algorithm is slightly better performing than bubble sort, and so we're going to explain how it works and implement it in Java.

Code

*----
1 from 1 votes

Mar 16th 2008
by Andrew Pociu

Greatest common divisor w/ the Euclidian algorithm

The Euclidian algorithm is being used in a Java function for finding the greatest common divisor. The simple function calls itself (recursion) until the greatest common divisor has been reached, at which point it is returned.

Tutorial

*****
5 from 2 votes

Mar 2nd 2008
by Louis Fernandez

Bubble Sort Algorithm in Java

The bubble sort is notoriously slow, but it's conceptually the simplest of the sorting algorithms and for that reason is a good beginning for our exploration of sorting techniques.

Code

-----
No votes

Mar 16th 2008
by Andrew Pociu

Function to test for primality

A simple modulus based algorithm used in Java to find if the passed number is prime or not.

Tutorial

****-
3.33 from 3 votes

Mar 1st 2008
by Louis Fernandez

Introduction to Arrays in Java

This tutorial covers creating, accessing, initializing, inserting, searching and deleting arrays and their elements in Java. Examples are given for each of these actions to aid the reader in getting a hands-on experience.

Code

*****
5 from 1 votes

Mar 7th 2008
by Andrew Pociu

Get the Last Day of the Month

Retrieve the last day of the month, by specifying the month and year. It uses the Java Calendar object from the java.util class.

Tutorial

****-
3.72 from 14 votes

Feb 9th 2008
by Louis Fernandez

File Handling in Java

A look at the file handling methods that Java provides, and an introduction to the complex I/O system that comes packaged in java.io.

Code

****-
4 from 3 votes

Oct 11th 2007
by Andrew Pociu

Validate phone number using RegEx and Java

Java example of how to validate a phone number in various formats using regular expressions.

1 2 3
(18 tutorials and code in 3 pages)
Filter Results
Show:


Latest IT Jobs


Other Resources
Latest Tech Bargains

Advertisement

Free Magazine Subscriptions

Today's Pictures

Today's Video

Other Resources

Latest Download

Latest Icons