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

Under what conditions is an object’s finalize() method invoked by the garbage collector?

583


How do you clear an arraylist in java?

502


Why is java not 100% pure oops?

624


What does string intern() method do?

592


How can we create an immutable class in java?

585






Can a class be private in java?

550


Explain jvm, jre, and jdk?

565


Difference between method overloading and overriding.

584


How do you convert string to int in java?

565


What is the basic concept of java?

543


There are two classes named classa and classb. Both classes are in the same package. Can a private member of classa can be accessed by an object of classb?

1005


What is the use of conditional statement?

566


What is difference between null and void?

536


What is java and their uses?

550


How do you declare a destructor in java?

512