How to print a statement without using semicolan in java
Answer Posted / prince kohli
claass WithoutSemicolon
{
public static void main(String args[])
{
if(System.out.printf("hello java")==null)
{}
}
}
| Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
Will the jvm load the package twice at runtime?
Explain reverse a linked list iterative solution in java?
What are the important features of Java 8 release?
What is meant by 'Class access modifiers'?
What environment variables do I need to set on my machine in order to be able to run java programs?
Why there are some null interface in java? What does it mean?
What is javac in java?
How to create a custom exception?
Why to use nested classes in java? (Or) what is the purpose of nested class in java?
State two differences between C and Java.
what is the purpose of "virtual"?
When the constructor of a class is invoked?
What is a instance variable?
What is object of class in java?
Which collection does not allow duplicates in java?