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
what is the major difference between linkedlist and arraylist in java?
What is files manifesting?
What is array list in java?
What is byte data type?
What is the purpose of the enableevents() method in java programming?
Write a program to print all permutations of string?
Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.
Which is better arraylist or vector?
List the features of java programming language.
What are exception handling keywords in java?
What is a type parameter in java?
What is meant by JVM? Is JVM platform independent or not?
What is the difference between jdk, jre, and jvm?
Is 9 a prime number?
What data type is a string?