DDN interview question

How System.out.println works in java