I try to learn about array types. Following code I used for multi dimensional array and It did't give correct result set. It gave users=[[Ljava.lang.String;@2d68be1b as output. What are the changes I need to do?
import java.util.ArrayList;
public class Array_MultiDimentional2 {
public static void main(String[] args) {
String[][] users;
String email = null;
String name = null;
String pass = null;
users = new String[][] {{email, name, pass }, {"one", "two", "three"}};
System.out.println("users=" + users);
}
}