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

In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?

2442


Is a class a subclass of itself?

842


If your ui seems to freeze periodically, what might be a likely reason?

790


Can I use multiple html form elements with the same name?

824


What are the different methods of identifying an object?

798


What is JTS?

2082


What is the purpose of the wait() method?

834


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

803


Difference between hashmap and hashtable?

849


How would you create a button with rounded edges?

770


What is jboss?

776


What is Remote Server?

1899


What happens when a thread cannot acquire a lock on an object?

770


In RMI, inorder to sent the stub reference to the client, is we have to load the server object first into the memory or can we directly sent reference to the client?

1835


Name the eight primitive java types.

832