Developer's Daily Java Education - Test Projects
  front page | java | perl | unix | DevDirectory
   
Front Page
Java
Education
   
 


public class Main {

  public static void main(String[] args)
  {

   String ConvertedCharacter = PhoneNumberConverter.convertStringToNumbers("gofedx");
/*
  //1. Need to collect the data in a string and pass that to phoneNumber
  //   converter
    int i = PhoneNumberConverter.convertCharacterToNumber('a');
    System.out.println( "a = " + i );

    i = PhoneNumberConverter.convertCharacterToNumber('b');
    System.out.println( "b = " + i );

    i = PhoneNumberConverter.convertCharacterToNumber('f');
    System.out.println( "f = " + i );
*/
  }

}
Copyright 1998-2003 DevDaily Interactive, Inc.
All Rights Reserved.