Example

public class ClassA {
int i;
int j;
public void methodA {

j= i % 1;

}

}
Solution Reconsider the use of the modding expression since the result will always be 0.