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 the relationship between local interfaces and container-managed relationships?

850


What modifiers may be used with an interface declaration?

834


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

806


How can I scroll through list of pages like the search results in google?

788


What is the difference between the session.update() method and the session.lock() method?

789


Describe responsibilities of Activator?

1898


Can we sent objects using Sockets?

886


Why are my checkboxes not being set from on to off?

921


What do you need to set-up a cluster with jboss?

829


What are the different class loaders used by jvm?

846


What is ripple effect?

870


What is a tasks priority and how is it used in scheduling?

802


What do you know about seam?

812


What are the benefits of detached objects?

831


What is the argument type of a programs main() method?

846