Class Exercise4_5

java.lang.Object
  extended byExercise4_5

public class Exercise4_5
extends java.lang.Object

Exercise 4.5 from the book.

Version:
1.0
Author:
Kristian Torp, torp (at) cs (dot) aau (dot) dk

Field Summary
(package private)  java.lang.String[] strArray
          Instance variable which stores an array strings
 
Constructor Summary
Exercise4_5()
          Default constructor
 
Method Summary
static void main(java.lang.String[] args)
          Main method that create a new object and calls the print method
 void print()
          Prints the content of the string array
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

strArray

java.lang.String[] strArray
Instance variable which stores an array strings

Constructor Detail

Exercise4_5

public Exercise4_5()
Default constructor

Method Detail

print

public void print()
Prints the content of the string array


main

public static void main(java.lang.String[] args)
Main method that create a new object and calls the print method