diffrence b\w println() and printf()

Answer Posted / sakthi

printf & println both are used print the output.
println only prints the value only at end but printf prints
the value anywhere inbetween the output statements

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to print the pattern given below

492


Explain about version control?

587


What are different types of references?

526


In java, how we can disallow serialization of variables?

550


Why we use multi threading instead of multiprocessing?

572






Is array a class?

516


Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.

527


In the below example, how many string objects are created?

552


What does the “static” keyword mean?

579


Is intellij better than eclipse?

537


Which are different kinds of source code?

654


What is the flag in java?

608


How do you square a number in java?

549


What are the drawbacks of singleton class?

529


What are parsers? Dom vs sax parser.

555