why it is showing the exp 2 value 4 it should be 5 not 4?

6 days ago 11
ARTICLE AD BOX

public class Test {

public static void main(String[] args){

int x = 2, y = 5;

int exp1 = (x * y / x);

int exp2 = (x * (y / x));

System.out.print(exp1 + “ , ”);

System.out.print(exp2)

Read Entire Article