I am trying to write a code that has multiplication method(n.multiply(n1) by using the linked array , stack or any other ways except using Biginteger. I don't know what to do.
private static void test1 ( String s, String s2 )
ip n = new ip(s);
ip n2 = n.multiply(n);
System.out.println("\nTesting " + s + "\n" + ( n2.toString().equals(s2) ? "pass" : "FAIL " ));