You're allowed to define just methods
#You're allowed to define just methods opinion
We accept the definition of a single method as a code-golf answer, such:
public void f(int a, int b, int c){System.out.println("Blah blah");}
And it should be equally acceptable to define many methods.
public int c(int a, int b){return a+b;}
public void f(int a, int b){System.out.println(c(a,b))}
As long as you're not assuming anything else about the program, EG. A Class Name, Imports, etc.
#You're allowed to define just methods opinion
We accept the definition of a single method as a code-golf answer, such:
public void f(int a, int b, int c){System.out.println("Blah blah");}
And it should be equally acceptable to define many methods.
public int c(int a, int b){return a+b;}
public void f(int a, int b){System.out.println(c(a,b))}
As long as you're not assuming anything else about the program, EG. A Class Name, Imports, etc.
You're allowed to define just methods
We accept the definition of a single method as a code-golf answer, such:
public void f(int a, int b, int c){System.out.println("Blah blah");}
And it should be equally acceptable to define many methods.
public int c(int a, int b){return a+b;}
public void f(int a, int b){System.out.println(c(a,b))}
As long as you're not assuming anything else about the program, EG. A Class Name, Imports, etc.
#You're allowed to define just methods opinion
We accept the definition of a single method as a code-golf answer, such:
public void f(int a, int b, int c){System.out.println("Blah blah");}
And it should be equally acceptable to define many methods.
public int c(int a, int b){return a+b;}
public void f(int a, int b){System.out.println(c(a,b))}
As long as you're not assuming anything else about the program, EG. A Class Name, Imports, etc.