Here you can find the source of sum(int matrix1, int matrix2)
public static int sum(int matrix1, int matrix2)
//package com.java2s; //License from project: Apache License public class Main { public static int sum(int matrix1, int matrix2) { return matrix1 ^ matrix2; }//from ww w . ja va 2s .com }