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
What are the characteristics of Final,Finally and Finalize keywords.
How will you add panel to a frame?
what is meant by Garbage collection?
Which command from the jdk compiles a java program?
What is the use of predicate in java 8?
Can we have multiple classes in a single file?
Does a class inherit the constructors of its superclass in java programming?
I want to store more than 10 objects in a remote server? Which methodology will follow?
What are advantages of using Java?s layout managers than windowing systems?
What does opcode mean?
what do you mean by java annotations?
When can an object reference be cast to an interface reference in java programming?
What does it mean to flush a file?
What is difference overloading and overriding?
What is the difference between Java1.4 and Java1.5