자바를 3년만에 다시 만져서...
처음부터 예재를 하나씩 연습해 가는데...
소스코드가 전혀 문제가 없는데 자꾸 애러가 납니다... ㅠㅠ
[code:1]
class Exam {
int c;
public int add( int a, int b ) {
c = a + b;
return c;
}
}
public class ExamTest {
public static void main(String[] args) {
int sum;
int x, y;
x = Integer.parseInt( args[0] );
y = Integer.parseInt( args[1] );
Exam examobject = new Exam();
sum = examobject.add( x,y );