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 the integer of 16?
When we should use serialization?
Is it possible for yielded thread to get chance for its execution again ?
Why stringbuilder is not thread safe in java?
Why Java is not pure Object Oriented language?
Why do we use return statement?
Is binary a low level language?
What is collections framework?
Why do we need singleton class?
Can we extend singleton class in java?
What is the size of boolean variable?
Can we make the abstract methods static in java?
what is the use of bean managed and container managed with example?
What does pointer mean?
Can you write a java class that could be used both as an applet as well as an application?