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
What is deserialization?
How do you use compareto in java?
What do you mean by formatting?
What is command line argument
What is the purpose of the enableevents() method?
What is overriding in java?
Can memory leak happen java?
How do generics work in java?
What is java instanceof operator?
What are the core java topics?
How to stop a thread in java? Explain about sleep () method in a thread?
What languages are pass by reference?
What is a constructor, constructor overloading in java?
How do you sort data in java?
What is the program compilation process?