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 synchronization? : Java thread
What is string pooling concept?
How the metacharacters are different from the ordinary characters?
What is a final class in java?
What is the use of put method?
What is a boolean structure?
Is class is a data type?
How are multiple inheritances done in Java?
What does provide mean construction?
Is array synchronized in java?
Is array passed by reference in java?
What is the advantage of functional interface in java 8?
What is the size of int in 64-bit jvm?
What is difference between add() and addelement() in vector?
What are the advantages and disadvantages of reference counting in garbage collection?