java当中获得特殊字符的ASCII值

public static void main(String[] args) {
	int value = Integer.valueOf('*');
	System.out.println(value);
}

你可能感兴趣的:(java小知识点)