User-submitted Java Projects

75
2297 reads
String Equal Example
The below program demonstrates how to compare Strings in java using equals method.
Run It Now!
75
3214 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
2551 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
3755 reads

November 4, 2011

Converting a Sequence of Characters


The below program demonstrates how to replace a character in string with another character.
29
2045 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
2238 reads
lgjut's picture

Submitted by

lgjut
Tags:

Hello
Person project
Run It Now!
78
2427 reads
Permutations of a String
This project displays all permutations and combinations of the characters of a string. To see the permutations of the word of your choice, just replace the "String" in the program with your word, and
Run It Now!
82
3391 reads

October 13, 2011

Short and Float Varible


The below example demonstrates how to how to assign values of float data-type to a variable. The below example prints the value of variable as output.
190
4338 reads

October 12, 2011

Short Variable.


The below example demonstrates how to assign values of short data-type to a variable. The below example prints the value of variable as output.
79
3886 reads

October 11, 2011

Short


The below example demonstrates how to assign value of data-type of short to a variable in java. The example prints the value of short variables ( variable s1 & variable s2) as output.