Java

31
2239 reads

February 22, 2013

Improved Stack class that uses the length array member.


This example demonstrates an improved Stack class that uses the length array member.

28
2327 reads

February 22, 2013

Length of an Array


This program demonstrates the length array member.

23
2504 reads

February 22, 2013

Static Demo


The program below demonstrates a static demo.

34
2334 reads

February 22, 2013

Variables, Methods and Blocks


The program below demonstrates static variables, methods, and blocks.

47
2347 reads

February 22, 2013

Defining an Integer Stack of a Class


This class defines an integer stack that can hold 10 values.

28
2361 reads

February 22, 2013

Difference of Public and Private


This program demonstrates the difference between public and private.

32
2500 reads

February 22, 2013

Recursion Example


This example demonstrates another example of recursion.

22
2821 reads

February 22, 2013

Recursion


The program below demonstrates a simple example of recursion.

48
2501 reads

February 22, 2013

Returning an Object


The program below demonstrates returning of an object.

30
2414 reads

February 22, 2013

Object Reference Passing


This example demonstrates how objects are passed through their references.