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
Is java same as core java?
How will you calculate the depth of a binary tree if the tree contains 15 nodes?
What is a short in java?
Can you give names of Container classes?
Write a program to find the greatest of three numbers in java?
When do I need to use reflection feature in java?
What super () does in java?
Can an interface implement another interface?
What is ternary operator? Give an example.
What is palindrome in java?
Which is dependent variable?
How many bytes are a float?
Is space a char?
What is nullpointerexception?
What is string :: npos?