what is the difference between System.out.println and out.println in java
Answer Posted / vigneshwaran r.r
:) OMG.... out.println() is used in JSP, ofcourse right, but one thing we have to notice is, we had created the object for the class PrintWriter as "out". so we use that in JSP, if we create object for that PrintWriter class as "hello", we have to print line as hello.println()..
System.out.println() is the standard method that used to print a line. here System is the Class and out is its object and println() or print() are the method that are in the System class. Generally System class has three object in-built (in, out, err)
| Is This Answer Correct ? | 24 Yes | 3 No |
Post New Answer View All Answers
What is threadfactory?
Will the general public have access to the infobus apis?
What is chat area? Explain.
What you mean by COM and DCOM?
Why won’t the jvm terminate when I close all the application windows?
how do you Handle Front End Application data against DB with example?
Is jvm a overhead?
What are the different algorithms used for clustering?
What is JTS?
Java is fully object oriented languages or not?
What is metaspace?
Is the ternary operator written x : y ? Z or x ? Y : z ?
What is the diffrence between a local-tx-datasource and a xa-datasource?
Whats new with the stop(), suspend() and resume() methods in jdk 1.2?
What does module-relative mean?