/*
 * Created on 2005-5-14
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package org.chapter2;

/**
 * @author Administrator
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class LetterOrNumber {

	public static void main(String[] args) {
		Character wrapChar = new Character('a');
		char charValue = 'a';
		int intValue = charValue ;
		System.out.println(intValue);
		String str = "×ÖÄ¸Z&Êý×Ö4" ;
		for ( int i=0 ; i<str.length(); i++){
			char c = str.charAt(i);
			intValue = c ;
			//System.out.print(Character.isDigit(c));
			//System.out.print(",");
			//System.out.print(Character.isLetterOrDigit(c));
			//System.out.print(",");
			//System.out.print(Character.isLetter(c));
			System.out.print(",");
			System.out.print(intValue);
			//System.out.println();
		}
		
	}
}
