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)?
How database connectivity in XML is achieved?
Describe, in general, how java's garbage collector works?
Can you control when passivation occurs?
Why do threads block on i/o?
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?
Is a class a subclass of itself?
What is synchronization and why is it important?
What is the purpose of the wait(), notify(), and notifyall() methods?
Which are the different segments of memory?
Difference between new operator and class.forname().newinstance()?
Are we allowed to change the transaction isolation property in middle of a transaction?
When a thread blocks on i/o, what state does it enter?
Will the general public have access to the infobus apis?
what is meant by JRMP?