Java Program to demonstrate of Linked List

This is a very simple demonstration of linked list in java programming language. Very nice and well commented java source code for beginners. User can “get” and “set” the list items as well as traverse through “previous” and...

Java Program to show Stack Implementation

This is a simple Java program to demonstrate Stack data structure implementation. An object of type IntStack is a stack of real numbers, with the standard stack operations push(int N), pop(), and isEmpty(). A makeEmpty() operation is also provided to remove all items...

Stack implementation with array

This java code basically implements stack functionality. It can Pop and Push an item in stack with the help of array. The item can only be an integer number and inernally the java program uses arrays to maintain items in stack. [code=’java’]...

Photo

A small java program to show photo on JPanel. User can select any image file from the hard drive and show on the frame. Image file can be jpg, gif, bmp or any other supported graphics file. [code=’c’]...

Text Tool

Text Tool [code=’java’]/******************************************************* * MYCPLUS Sample Code – https://www.mycplus.com * * * * This code is made available as a service to our * * visitors and is provided strictly for the * * purpose of...

Towers of Hanio Java Applet

This applet solves the Towers of Hanoi problem for a tower of 10 disks. (Ten differntly-sized disks are stacked in a pile, in order of decreasing size. There are two other places for piles. The object is to move the pile to the second available place, subject to the...

Applet demonstrates recursion

This applet demonstrates recursion by counting the number of squares in a “blob”. The squares are arranged in a grid, and each position in the grid can be either empty or filled. A blob is defined to be a filled square and any square that can be reached...

Console Based Java Calculator

This is a small Console Based Java Calculator that can add, subtract , divide and multiply two numbers. Find the square root of a number, cube of a number, nth Power of a number. It is very for the begnners of Java. Java...

GUI example

Example of a gui with different features. Java /******************************************************* * MYCPLUS Sample Code - https://www.mycplus.com * * * * This code is made available as a service to our * * visitors and is provided strictly for the * * purpose of...

Different Borders Applet

A simple applet that shows labels with six different types of border. Java /******************************************************* * MYCPLUS Sample Code - https://www.mycplus.com * * * * This code is made available as a service to our * * visitors and is provided...

Demonstration of the try-catch-finally

This is a demonstration of the try-catch-finally exception handling mechanism in java programming language. It shows different mechanisms on how to handle exceptions, catch errors and show error messages. [code=’java’]...

SystemErrorOwnsYou

SystemErrorOwnsYou— This is a tool I created to put your freinds or enemies under Denial of service conditions- Dont worry… this tool will not have any long lasting effect, in-fact once you re-boot you computer it will be in the exact same state as it was...
Page 1 of 41234