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
we use MainFrame and using os390 for operating system with DB2 data base in IRAN and interest programing with java and use webspere for world wide,please help me where i should start?
What’s jboss cache in short?
Is there a guarantee of uniqueness for entity beans?
What is a sessionfactory? Is it a thread-safe object?
why static class in java
Describe, in general, how java's garbage collector works?
What is difference between object state and behavior?
What is the difference between system.out ,system.err and system.in?
In our urls and in the text of the buttons we have comma. Its causing an error. Is there a way to change the delimiting character for the menu arguments?
What is Remote Server?
Are enterprise beans allowed to use thread.sleep()?
Name three component subclasses that support painting?
What is the difference between a static and a non-static inner class?
Will the general public have access to the infobus apis?
What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?