Announcing Programmr's new site - AI Camp - start coding cool AI programs - all in your browser!


User-submitted Java Projects

77
2171 reads
lazycoder's picture

Submitted by

lazycoder
Tags:

27
2140 reads
deep07's picture

Submitted by

deep07
Tags:

Stack Example
The above program demonstrates how to use Stack Collections in java.
Run It Now!
66
2114 reads
deep07's picture

Submitted by

deep07
Tags:

Stack Example
The above program demonstrates how to use Stack Collections in java.
Run It Now!
39
2164 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!
35
2397 reads
deep07's picture

Submitted by

deep07
Tags:

Stack Example
The above program demonstrates how to use Stack Collections in java.
Run It Now!
139
2242 reads
AnilKumar's picture

Submitted by

AnilKumar
Tags:

Vectors Example
The above program demonstrates how to use Vector Collections in java.
Run It Now!
67
2202 reads
Sorting using Comparator Objects
The below example demonstrates how to use collections with objects. The below program defines a TreeSet which only takes invoice objects and displays it as output.
Run It Now!
65
2159 reads
Implementing a Sortable Class
The below example demonstrates how to use collections with objects. The below program defines a TreeSet which only takes invoice objects and displays it as output.
Run It Now!