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

Answer Posted / vmpire

out.println() and System.out.println() both are using for display purpose
out.println() use in jsp code<%out.println("vmpire<'_'>")%>
System.out.println() is use for when you want print some on console
Here system is class and out is the static variable of System class of printstream class type println is static method of stream class

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is aop(assepct oriented programing)?

800


What is threadfactory?

866


What is a sessionfactory? Is it a thread-safe object?

946


What is the relation between the infobus and rmi?

782


What is JTS?

2082


Are enterprise beans allowed to use thread.sleep()?

896


Explain what is synchronization?

841


What is mdb and what is the special feature of that?

814


What is the purpose of the wait(), notify(), and notifyall() methods?

801


What is meant by method chaining?

894


the same information whether it will connect to the database or it will be used previous information?

808


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

863


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

787


How to determine SGA site?

2162


What is colon_pkg_prefixes and what is its use?

2213