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 an object's lock and which object's have locks in java programming?

792


Does java allow overriding static methods ?

846


What is substring 1 in java?

793


What is the size of a string in java?

748


What is the difference between overriding and overloading in OOPS.

828


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.

2495


How to implement a multithreaded applet?

2433


What are inbuilt functions?

756


Which is dependent variable?

680


What is use of arraylist in java?

843


What is lastindexof in java?

771


What class of exceptions are generated by the java run-time system?

907


How do you calculate square roots?

870


What is ph and buffers?

746


how many types of Inheritance?

940