User-submitted Java Projects

89
2444 reads

January 11, 2013

Multiple Else Statements


The below example demonstrates how to use multiple else statements with a single if statement.

178
2387 reads

January 11, 2013

Else Statement


The below example demonstrates how to use else statements in java.

65
2546 reads

January 11, 2013

If Statement


The below example demonstrates how to use multiple if statements in java.

27
2515 reads

January 11, 2013

Reinforcement


The below example demonstrates how to use arithmatic operation in java. The below program defines a method named "calcCompoundInterest" which calculates compound interest.

275
4665 reads

January 11, 2013

PrePost Increment


The below example demonstrates the use of Pre and Post Increment Operators in java. The example performs pre Increment and Post Increment operations on variables of datatype of Int.

154
2368 reads

January 11, 2013

Arithmetic operators


The below example demonstrates the use of all the Java arithmetic operators for datatype of Int.

34
1370 reads
MyCar(1.0)
Creating a car using java code
MyCar(1.0)

Enhancement Trail:  

MyCar(1.0)    MyCar





Run It Now!
29
418 reads

January 7, 2013

atest


The below example demonstrates how to convert a string to upper case.
62
2391 reads

January 7, 2013

Upper and Lower Case


The below example demonstrates how to convert a string to upper case.
13
2421 reads

January 7, 2013

Method Overloading Example


The below method example demonstrates how to do Constructor Overloading and Method Overloading in Java.It defines a constructor of Class Circle with different parameters and defines a method with same