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

Can I import same package/class twice? Will the jvm load the package twice at runtime?

881


How primary key is implemented in Oracle?

2174


What is in-memory replication?

799


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

876


What is a modular application? What does module-relative mean?

783


What you mean by COM and DCOM?

864


What is message driven beam?

816


What are the different class loaders used by jvm?

849


Can I use javascript to submit a form?

913


Why a component architecture for the java platform?

817


which type of objects reference will be given to client?

2285


Will the general public have access to the infobus apis?

818


Can you control when passivation occurs?

836


What is the difference between ear, jar and war file?

842


Is jvm a overhead?

843