User-submitted Java Projects

67
1589 reads

November 4, 2011

Hello World


The Hello World example below demonstrates how to print simple hello world message in java. This example prints Hello John message as output.

Upper and Lower Case

The below example demonstrates how to convert a string to upper case. Read more »
74
1893 reads
CMonk's picture

Submitted by

CMonk
Tags:

Numbers Sorting
This is a very small program to sort 5 numbers. This sorting algo used is insertion sort.
Run It Now!
267
3656 reads

November 4, 2011

JavaStringVariables


The below example demonstrates how to concatenate (add) strings and display the result. The below example uses two Strings named first_name and family_name, assigns value to them and displays the va
75
2308 reads
String Equal Example
The below program demonstrates how to compare Strings in java using equals method.
Run It Now!
75
3262 reads

November 4, 2011

Declaring Strings Example


The below program demonstrates the different way of declaring Strings in Java. The below program creates different objects of String(s1,s2,s3,s4) by using different ways.
77
2560 reads
Declaring Strings Example
The below program demonstrates the different way of declaring Strings in Java. The below program creates different objects of String(s1,s2,s3,s4) by using different ways.
Run It Now!
151
3806 reads

November 4, 2011

Converting a Sequence of Characters


The below program demonstrates how to replace a character in string with another character.
29
2054 reads
Tori's picture

Submitted by

Tori
Splitting a String
The below example demonstrates how to split a string in java.The below example defines a split() method to split the given string into an array of strings.The split() uses whitespace as delimiter to split the strings.
Run It Now!
24
2255 reads
lgjut's picture

Submitted by

lgjut
Tags:

Hello
Person project
Run It Now!