Difference in the use of print, println, and printf.
Answer Posted / hr@tgksolutions.com
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
Explain garbage collection in java?
What is the use of default method in interface in java?
What are the different ways of creating thread?
What is identifier give example?
What is called module?
How to perform merge sort in java?
What is jit and its use?
Explain the key functions of data binding?
Can a variable be local and static at the same time?
Is Java a dying language?
What is the purpose of using break in each case of switch statement?
What is the difference between static binding and dynamic binding?
What is the purpose of a default constructor?
Explain access modifiers in java.
Give me example of derived data types.