I'm having quite a few errors on this one. This is my first attempt on "free" coding outside tutorials. I do believe it only has to do with bad use of brackets from my side, but i'm a beginner.
Line 14 - Illegal start of expression
Line 18 - Class, interface or enum expected
Line 21 - Class, interface or enum expected
public class Class_z {
public static void main(String[]args){
int c = 5;
int d = 10;
int answer = true1(99);
System.out.println(answer);
if(c >= d){
//true
static int true1(int a){
return a;
}
}
else {
System.out.println("False");
}
}