How to print a statement without using semicolan in java
Answer Posted / amit sharma
public static void main(String[] args) {
if(System.out.printf("hi",null) == null)
{
System.out.println("byee");
}
}
In printf(String format, Object args), We also need to
specify argument.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is the difference between heap memory and stack memory?
What is variable explain?
What is xslt in java?
what is a working thread? : Java thread
Can we extend a class with private constructor?
What is qms certification?
Which sorting is best in java?
Is object a data type in java?
What is e java?
What is the difference between post and put?
What is an 8 bit word?
What is stringwriter?
What is generic class?
What is meant by inheritance and what are its advantages?
Does google use java?