Difference in the use of print, println, and printf.
Answer Posted / nashiinformaticssolutions
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
Define inheritance?
explain multi-threading in java?
What is the purpose of the finally clause of a try-catch-finally statement in java programming?
Can You Have Virtual Functions In Java?
Can we override the static method?
Why does java have two ways to create child threads?
What is use of a abstract variable?
What’s the difference between callable and runnable?
What are the advantages of compiled language?
define the terminology association.
What are the problems faced by java programmers who don't use layout managers?
Why do we use bufferedreader?
What does @override mean?
Why are global variables used?
How can we make sure main() is the last thread to finish in java program?