Answer Posted / vidya sarode
println prints on a new line, where as print prints on the
same line.
For example, in your program you use "print" to print the
word "Detroit" and then you use "print" again to
print "smells" the output would be:
Detroitsmells
If you use "print" to print "Detroit" and then you
use "println" to print "smells" your output would be:
Detroit
smells
| Is This Answer Correct ? | 33 Yes | 12 No |
Post New Answer View All Answers
What is array size in java?
What is a final class in java?
Which is best ide for java?
What is the string function?
What is the difference between array list and vector in java?
What is object data type?
Why charat is used in java?
Which software is used for java programming?
What is the range of a character variable?
Write a program in java to establish a connection between client and server?
What is internal iteration in java se 8?
What are triggers in DB? Explain their types. How do they work?
Can we call virtual funciton in a constructor ?
What is equlas() and hashcode() contract in java? Where does it used?
What is use of map in java?