New course! Every coder should learn Generative AI!
Try a free lesson0
About strings in Java help
Hello Guys , what’s the difference between Print , printf, printIn? And when should I use them ?
4 Answers
+ 6
Print - used in python to display the output
Printf - used in c language to display the output
Println - used in java language to display the output
+ 6
visph thanks for saying. actually I was not knowing much about the java
0
print: output string
printf: output formatted string
println: output string + new line character
0
Aysha all three are available in java ;)