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
Explain different states of a thread in java?
Why array is used in java?
What does system.gc() and runtime.gc() methods do?
Can an arraylist be empty?
What happens when you invoke a thread’s interrupt method while it is sleeping or waiting?
How do you know if a value is nan?
What is a constructor, constructor overloading in java?
What is void keyword?
Why we cannot override static method?
how to deploy tomcatserver to weblogic server? write d following steps?
What is a line separator in java?
what is the volatile modifier for? : Java thread
Why do we use variables?
How would you convert bytes to string?
How can u increase the heap size in the memory?