Question: In JAVA, System.out.println()... println() is in java.io package.? The default package being imported is java.lang , so how can we access the println() present inside java.io package without being importing java.io

Answer: System.class the java.io package is already imported and \nthe variable "out" is already defined. \nUntil u use "System" class to refer the variable the import is not required.\n\nFor more info about pakage refer\nhttp://jarticles.com/package/package_eng.html
This question from the Yahoo Q&A forum is categorized in the topic: Business & Finance