+91-85006-22255
What is the output of the following program?
public class GuessOutput { public static void main(String[] args) { int a = 56; int b = -8; int c = a % b; int d = b % a; System.out.println(c + ", " + d); }}
Topic: Modulus Operator In Java
Read this topic Take test on this topic
Open In App