Difference in the use of print, println, and printf.
Answer Posted / nashiinformaticssolutions
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 are the methods used to implement for the key object in the hash map?
What is serialization in java?
When can an object reference be cast to an interface reference in java programming?
what is meant by encapsulation?
What is anagram in java?
Will the jvm load the package twice at runtime?
What is meant by stack and queue?
What are advantages of using Java?s layout managers than windowing systems?
What is final method?
What is the difference between a switch statement and an if statement?
What is binary search in java?
What is bool mean?
Difference between predicate, supplier and consumer ?
What is unmodifiable collection in java?
What do you understand by casting in java language?