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
Which characters may be used as the second character of an identifier, but not as the first character of an identifier?
What restrictions are placed on the values of each case of a switch statement?
Are we allowed to change the transaction isolation property in middle of a transaction?
A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions
What is the difference between a menuitem and a checkboxmenuitem?
whats is mean by connectionpooling
To what value is a variable of the string type automatically initialized?
What is ioc concept & explain it?
What is the difference between java class and bean?
What is bean? Where can it be used?
Where can I find seam examples and documentation?
Describe, in general, how java's garbage collector works?
Explain the different types of memory used by jvm?
How are the elements of a cardlayout organized?
What is the difference between system.out ,system.err and system.in?