User-submitted Java Projects

39
1577 reads
sachinkadian's picture

Submitted by

sachinkadian
Tags:

39
1661 reads
sachinkadian's picture

Submitted by

sachinkadian
Tags:

39
2325 reads
Overriding Methods from Object
The below example demonstrate the use of equals() in java.
Run It Now!
39
2219 reads
Named Local Inner Classes
The below program demonstrates how to create named local inner class.
Run It Now!
39
3075 reads
lazycoder's picture

Submitted by

lazycoder
Tags:

39
2408 reads
Nelly's picture

Submitted by

Nelly
39
2345 reads
Nelly's picture

Submitted by

Nelly
Tags:

Stack Example
The above program demonstrates how to use Stack Collections in java. The below example defines a Stack Object which adds the object of Circle12 and Rectangle.The push() method is used to insert an object unto the the stack wheras the pop() method removes an object from the stack.The peek() method returns the object which is on top of the stack.
Run It Now!
38
8703 reads
gdgutierrez's picture

Submitted by

gdgutierrez
Tags: