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
Why use a datasource when you can directly specify a connection details?
what are RemoteObjects?
What are the steps to write p-to-p model application?
what is a non-repeatable read?
How are the elements of a borderlayout organized?
Explain about RMI Architecture?
Difference between swing and awt?
Explain the difference between object state and behavior?
What are externizable interface?
What are the difference between RMI and CORBA?
What happens when a thread cannot acquire a lock on an object?
How will you pass parameters in RMI? Why do you serialize?
Do we need to override service() method
What is RMI and what are the services in RMI?
what is Activation Instantinator?