Difference in the use of print, println, and printf.
Answer Posted / glibwaresoftsolutions
The items can be printed using print, println, or printf, but print prints every element while keeping the cursor in the same line. The cursor is moved to the next line via println. Additionally, we can use format identifiers with printf.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is 0 a prime number?
What is locale?
Do I need java on my pc?
Is null keyword in java?
What is jvm? How its run?
Does java allow default arguments?
What is the use of runnable interface?
What is the meaning of flag day?
What is linkedlist in java?
What is the syntax and characteristics of a lambda expression?
What is nextint java?
Can we create object of inner class in java?
What is a jagged array in java?
What do you understand by copy constructor in java?
Is it possible for yielded thread to get chance for its execution again ?