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
What is aop(assepct oriented programing)?
What is threadfactory?
What is a sessionfactory? Is it a thread-safe object?
What is the relation between the infobus and rmi?
What is JTS?
Are enterprise beans allowed to use thread.sleep()?
Explain what is synchronization?
What is mdb and what is the special feature of that?
What is the purpose of the wait(), notify(), and notifyall() methods?
What is meant by method chaining?
the same information whether it will connect to the database or it will be used previous information?
What restrictions are placed on the location of a package statement within a source code file?
What is the difference between long.class and long.type?
How to determine SGA site?
What is colon_pkg_prefixes and what is its use?