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
What is a memory leak in java?
What is methodological framework?
What is consumer interface?
Which oo concept is achieved by using overloading and overriding?
How can you say java is object oriented?
Is oracle charging for java?
Write a java program to count the number of words present in a string?
Which data type is class in java?
Compare java and python.
What is pass by value?
What does the “static” keyword mean? Can you override private or static method in java?
What is difference between throw and throws ?
Explain what pure virtual function is?
Can a list be null in java?
Can we have multiple classes in a single file?