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
Under what conditions is an object’s finalize() method invoked by the garbage collector?
How do you clear an arraylist in java?
Why is java not 100% pure oops?
What does string intern() method do?
How can we create an immutable class in java?
Can a class be private in java?
Explain jvm, jre, and jdk?
Difference between method overloading and overriding.
How do you convert string to int in java?
What is the basic concept of java?
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?
What is the use of conditional statement?
What is difference between null and void?
What is java and their uses?
How do you declare a destructor in java?