import java.io.*;
public class TryCatch {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String name;
int kor, eng, math;
try
{
name = in.readLine();
kor = Integer.parseInt(in.readLine());
math = Integer.parseInt(in.readLine());
eng = Integer.parseInt(in.readLine());
Student s = new Student(name, kor, math, eng);
s.PrintScore();
}
catch(Exception e){
System.out.println("GGOGOGOGOOGOG");
}
}
}
'Android' 카테고리의 다른 글
JAVA 1th (0) | 2012.08.17 |
---|---|
eclipse setup (0) | 2012.08.17 |
Java String Compare (0) | 2011.05.15 |
Java Interface (0) | 2011.05.15 |
Java Inheritance (0) | 2011.05.15 |