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
Which package is imported by default?
Why java is considered as platform independent?
Write a program to print fibonacci series
What is java in simple terms?
What is difference between public static and void?
Is there a sort function in java?
What is flush buffer?
Is array size fixed in java?
What is byte [] in java?
Why do people says “java is robust”?
How is java created?
Convert a BST into a DLL and DLL to BST in place.
What are the types of java languages?
What is multithreading and its advantages?
How do I get 64 bit java?