Hello,
Could you explain the output for the program below? Is the output specifying a reference of the Scanner object in RAM (I don't see any hex hash) or something else?
Thank you!
import java.util.Scanner;
public class ScannerTest
{
public static void main(String args[])
{
Scanner input = new Scanner(System.in);
System.out.println ("Scanner = " + input);
}
}
Scanner = java.util.Scanner[delimiters=\p{javaWhitespace}+][position=0][match valid=false][need input=false][source closed=false][skipped=false][group separator=\,][decimal separator=\.][positive prefix=][negative prefix=\Q-\E][positive suffix=][negative suffix=][NaN string=\Q�\E][infinity string=\Q∞\E]