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

Why do we need singleton?

552


Explain the importance of finally block in java?

572


What are the different tags provided in jstl?

561


Can you run java program without main method?

553


What are java packages? What's the significance of packages?

635






What is a conditional equation?

568


Can we have two methods in a class with the same name?

588


Is a class subclass of itself?

619


How to implement a multithreaded applet?

2212


Differentiate between a constructor and a method? Can we mark constructors final?

685


What is package private scope in java?

542


What is meant by 'Class access modifiers'?

565


Does A Class Inherit The Constructors Of Its Superclass?

544


What is use of arraylist in java?

590


What is an immutable class?

625