public class Example{

    public void foo(){
        int a = 0;
        int b = 2;
        bar(a, b);
    }

    public void bar(int a, int b){
        int c = a*b;
        int d = 0;
        System.out.println(c);
    }

}