User-submitted Java Projects

370
3707 reads

January 24, 2013

Object As parameter


This program demonstrate that how object can be passed as a parameter and how two objects of same class are comparable.

58
2474 reads

January 24, 2013

25
1732 reads
cpnm1's picture

Submitted by

cpnm1
BinaryToDecimal
A simple Java Application that converts a Binary to Decimal.
Run It Now!
23
1043 reads
cpnm1's picture

Submitted by

cpnm1
BinaryToDecimal
This is a simple Java application that converts a Binary to Decimal.
Run It Now!
38
1135 reads
cpnm1's picture

Submitted by

cpnm1
DecimalToBinary
This is a simple Java app that converts Decimal to Binary
Run It Now!
38
1060 reads
NumbersToWords(1.0)
This java application reads an integer n (at most 5 digits) and display it in words.

Enhancement Trail:  

NumbersToWords(1.0)    NumbersToWords





Run It Now!
35
3114 reads

January 11, 2013

Pure Polymorphism Example


The below example demonstrates how to implement Polymorphism in java. The below example defines Abstract Class Employee which defines a method getHireDate() which returns date of hire of employee.

251
2778 reads

January 11, 2013

Super Example


The below example demonstrates how to use Super keyword for methods. The below example Class W is the root base class which is extended by Class X which instead is extended by Class Y.

266
2926 reads

January 11, 2013

Access Hidden Variable Example


The below example demonstrates how to use Super and This keyword in java.

65
2686 reads

January 11, 2013

Method OverRiding Example


The below example demonstrates how to Override a method of base class in derived class.