Computer Science, asked by Anonymous, 6 months ago

distinguish between ptintln ()and print () give an example each with output. ..​

Answers

Answered by ItzRiya07
2

Answer:

Difference between print() and println() in Java

Both these methods are of PrintStream class and are called on static member 'out' of 'System' class which is a final type class. ... The prints method simply print text on the console and does not add any new line. While println adds new line after print text on console.

Answered by veerkiri007
2

hey, nice to meet u too again...

yes, i'm fine....all good.

what about u...?

Similar questions