User-submitted Projects

95
2061 reads
Stephens's picture

Submitted by

Stephens
Tags:

Advance regular expression
This program demonstrates handling regular expression with preg_match() function using php.
Run It Now!
102
1839 reads
Stephens's picture

Submitted by

Stephens
Tags:

Print Array
This program demonstrates how to declare and print array in PHP.
Run It Now!
99
1812 reads
Stephens's picture

Submitted by

Stephens
Tags:

Capture Array and Print
This program capturing output using print_r function and then print the array.
Run It Now!
80
2411 reads
Stephens's picture

Submitted by

Stephens
Reference Assignment
The below example demonstrates how to assign a reference to an object. The below example creates two different objects for class Point.
Run It Now!
75
2503 reads
Stephens's picture

Submitted by

Stephens
Clonning an Object Example
The below example demonstrates how to clone an object in java. The below example creates two objects(p,q) of Class Point. The object p is cloned and assigned to object q.
Run It Now!
141
2636 reads
File Upload & Download
The below example demonstrates how to download single .mp3 file in Struts 2. In this example we are downloading single .mp3 file from the server with the help of FileDownloadAction action.
File Upload & Download

Run It Now!
60
2146 reads
Sharon's picture

Submitted by

Sharon
Decorator pattern
This example demonstrates Decorator Pattern in java.Decorator Pattern add additional responsibilities dynamically to an object.
Run It Now!
187
1994 reads
Sharon's picture

Submitted by

Sharon
Composite Pattern
This example demonstrates Composite Pattern in java. The intent of this pattern is to compose objects into tree structures to represent part-whole hierarchies.
Run It Now!
55
1625 reads
Sharon's picture

Submitted by

Sharon
Flyweight Pattern
This example demonstrates Flyweight Pattern War-game in java. The intent of this pattern is to use sharing to support a large number of objects that have part of their internal state in common where
Run It Now!
49
1785 reads
Sharon's picture

Submitted by

Sharon
Adapter Pattern
This example demonstrates Adaptor Pattern in java.Adaptor Pattern Convert the interface of a class into another interface clients expect.
Run It Now!