Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Matrix {
- private boolean[] [] a;
- private boolean[] [] b;
- private int q;
- //public Matrix (boolean [] [] a, boolean [] [] b, String q)
- public Matrix (int q)
- {
- //this.a = a;
- //this.b = b;
- this.q = q;
- }
- //public boolean multiplyMatrix() {
- //boolean test1 = a[0][0];
- //boolean test2 = b[0][0];
- //System.out.println(test1.toString);
- //return test1;
- //return test2;
- //}
- @Override
- public String toString () {
- return q;
- //System.out.println(test1.toString());
- }
- }
- public class Test {
- public static void main(String[] args) {
- //int [] aa = {1, 0, 1};
- int q = 184;
- //boolean [] [] aa = {{true, false, false}, {false, false, false}, {false, false, false}};
- //boolean [] [] bb = {{false, false, false}, {false, false, false}, {false, false, false}};
- Matrix m = new Matrix(q);
- System.out.println(m);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement