โช Choose the correct option.
public void test(int x) {
int odd = 1;
if(odd) {/* Line 3 */
System.out.println("odd");
}
else {
System.out.println("even");
}
}
public void test(int x) {
int odd = 1;
if(odd) {/* Line 3 */
System.out.println("odd");
}
else {
System.out.println("even");
}
}
Which statement is true?