Answer the question
In order to leave comments, you need to log in
Why can't I pass two arguments to a method?
Why can't I pass two arguments to a method?
public class FirstClass {
public static int main(String[] args) {
static int foo(int b, int a){
int c;
c = a + b;
return c;
}
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question