what is the difference between System.out.println and out.println in java

Answer Posted / uday

Both are used for displaying outputs. System.out.println() will print it to the system output stream while the syntax out.println is used in jsp and web environment where its rendered on the browser..

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Whats new with the stop(), suspend() and resume() methods in jdk 1.2?

577


If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?

561


we use MainFrame and using os390 for operating system with DB2 data base in IRAN and interest programing with java and use webspere for world wide,please help me where i should start?

1920


int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!

1358


what are RemoteObjects?

2252






What is meant by method chaining?

660


How many times may an objects finalize() method be invoked by the garbage collector?

668


what is a portable component?

1460


What are the different algorithms used for clustering?

544


Have you used threads in Servelet?

1928


Why do threads block on i/o?

676


How would you create a button with rounded edges?

553


What are externizable interface?

574


How to implement RMI in Java?

2397


What is the difference between long.class and long.type?

557