import java.util.*;
public class Challenge1
{
public static void main(String args[])
{
Scanner in = new Scanner(System.in);
System.out.println("enter the data");
int x[] = new int[5];
x[0] = in.nextInt();
System.out.println(x);
}
}
OutPut: [I@14318bb
I know that using
System.out.print(x[0])would give me the required output, but what does the above output mean?

New Topic/Question
Reply



MultiQuote



|