User-submitted Java Projects

75
4038 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
2760 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
4623 reads

November 4, 2011

Converting a Sequence of Characters


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

Submitted by

lgjut
Tags:

Hello
Person project
Run It Now!
78
2639 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
4284 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
5270 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
5186 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.
66
4371 reads

October 9, 2011

Integer


The below example demonstrates how to assign integer value to a variable in Java. The below example prints the values of two variable (variable i & variable j) as output.