public class EvenOdd{
public static void evenOddValue(int value) {
if(value % 2 == 0){
System.out.println("The given value is even: " + value);
}
else{
System.out.println("The given value is odd: " + value);
}
}
public static void main(String [] args) {
int num = 25;
EvenOdd obj = new EvenOdd();
obj.evenOddValue(num);
}
}