I got two class a cipher and tester class
here is cipher:
import java.util.*;
import java.lang.*;
public class Ciph{
public char[][] getCipherText(){
char[][] a={{'A','E','B','I','M','Y'},{'N','R','C','A','T', 'S'}};
return a;
}
}
here is tester:
public class Test{
public static void main(String[] args){
Ciph cph= new Ciph();
System.out.println(cph.getCipherText());
}
}
There is no error in compiling but when you run the program, it returns random string not the AEBIMYNRCATS
I get the error: [[C@7a718e31
How do I solve this?