Difference in the use of print, println, and printf.
Answer Posted / hr@tgksolutions.com
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
What is difference between equal and == in java?
What is treeset in java?
What are the types of methods in java?
What is the collection interface?
What is the escape character in java?
What is treemap in java?
What is a container in a gui?
What is bubble sort in java?
What are the different types of data structures in java?
What is meant by collection in java?
give an example for encapsulation?
What is the full form of jpeg?
What was java originally called?
What is the use of flag?
What does replaceall do in java?