Abhi vijay wrote:
Here how is printf working without importing java.io.*; printf is in the class PrintStream class in th io package.
How about accessing its instance from
System class through HAS A PrintStream out object ?
The magic lies in this call
And you know where is System class resides !!