diffrence b\w println() and printf()

Answer Posted / sethu raj

println() and printf() both shows the output.
But in structure programming language,we can use printf()
as library function for printing the statement,and in
object oriented language we use println for print the
statement with new line.

Is This Answer Correct ?    12 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do generics work in java?

708


How do you do descending order in java?

757


What about abstract classes in java?

840


How is garbage collection controlled?

931


Q1.A. Write note on “The class path Environment Variable”? B. Which are different kinds of source code? Q2.A. How to create an interface? B. Why convert an applet to an application? Q3.A. How to use Media tracker Class. B. How to use string tokenizer class. Q4 A. Explain the overview of UDP messaging. B. Difference between SQL Exception class and SQL Warning class. Q5. A. How to create com object in Java? B. Write short notes on “The properties class” Q6. A. When object is created and destroyed? B. Explain the JDB in depth & command line. C. Write short notes on Web Sites.

7883


What is a container in a gui?

742


What are the differences between c++ and java?

834


Are registers volatile?

720


What is the benefit of abstract class?

722


Can java program run without jre?

786


What is struts in java?

819


What is java string pool?

771


Define "Access specifiers" in java.

937


What is meant by object oriented programming – oop?

765


What is the difference between the paint() and repaint() methods?

807