Class Exercise3_6

java.lang.Object
  extended byExercise3_6

public class Exercise3_6
extends java.lang.Object

Exercise 3.6 from the book.

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

Constructor Summary
Exercise3_6()
           
 
Method Summary
static void cmp(java.lang.String s1, java.lang.String s2)
          Compares two strings and prints how they successfully compare
static void main(java.lang.String[] args)
          The main method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Exercise3_6

public Exercise3_6()
Method Detail

cmp

public static void cmp(java.lang.String s1,
                       java.lang.String s2)
Compares two strings and prints how they successfully compare

Parameters:
s1 - The first string
s2 - The second string

main

public static void main(java.lang.String[] args)
The main method.