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 do you mean by local variable and instance variable?
When can an object reference be cast to an interface reference in java programming?
What is a type parameter in java?
What is the generic class?
How do you replace a string in java?
What is assembly condition codes?
Is integer passed by reference in java?
Why java strings are immutable in nature?
How can we make a class singleton?
What are the types of java?
What are the differences between include directive and include action?
Explain exception chaining in java?
How do you escape in java?
What is variable in java?
Compare Mutex and Semaphore in java.