1

What is the output of the following program?

class GuessOutput {
public static void main(String[] args) {
int a = 56,b = -8;
int c = a % b;
int d = b % a;
System.out.println(c + “, ” + d);
}
}

  • -7, -8

  • -7, -8

  • 0, -8

  • 0, 8