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

What is the largest data type in java?

512


What are the java ide’s?

577


What are the advantages of exception handling?

558


What a static class can contains?

700


What is local class in java?

527






How can you read content from file in java?

601


What is method in java with example?

494


What is a flag and how does it work?

515


Can a static class have a constructor?

524


What is variable in java?

529


What is exception in java?

573


How many types of methods are there?

552


How can we make a class singleton?

582


What is lossy conversion in java?

565


Can we use switch statement with strings?

624