public class FristMethod {
public void tran() {
int sum=0;
int yushu;
boolean flag = false;
try{
InputStream inputStream = System.in;
InputStreamReader inputStreamReader = new InputStreamReader(inputStream);
BufferedReader reader = new BufferedReader(inputStreamReader);
String str = reader.readLine();
char[] ch = str.toCharArray();
str.getChars(0, ch.length, ch, 0);
for (int i = 0; i < str.length(); i++) {
if (Character.isDigit(ch)) {
System.out.println("有非字符的字符串");
System.exit(0);
}
else{