Whenever we write any statement to print to console in Java program:
System.out.print
or System.out.println
In above both statements we're calling out reference variable of PrintStream object without explicitly importing java.io package, so how we're accessing that object methods without resulting any compile time error?