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

Answer Posted / manjuraj

Both are used to display the output.By default you can use
the system.out.println,but we con't we the out.println
directly.
If we import the [ import static java.lang.System.out; ]
static import then we can use the out.println.

Is This Answer Correct ?    7 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What restrictions are placed on the location of a package statement within a source code file?

618


wahts is mean by dynavalidatorform in struts/

1571


What is the purpose of the notifyall() method?

613


Why does the tag url-encode javascript and mailto links?

585


What are externizable interface?

586






Why does the option tag render selected=selected instead of just selected?

676


when A client sent a request to the server to open facebook page and close the browser after this request .at that time the same user do login by using a different browser then that session id will exist or not for the same client??

1105


When a thread blocks on i/o?

571


Write a program to show synchronization?

694


Can we sent objects using Sockets?

649


What are the sequence of steps to write pub or sub model kind of application?

1895


What is the difference between RMI registry and OS Agent?

634


Can you control when passivation occurs?

598


What is the difference between session and entity beans?

581


Do I have to use jsps with my application?

583