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 replaceall in java?
What is flush () in java?
What are untrusted applets?
What is a for loop in java?
Can we define static methods inside interface?
What is the syntax and characteristics of a lambda expression? Explain
How does callback work in java?
Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?
How do you use parseint in java?
how to prepare for IT Officers Interview in Banks
How many bits is a char?
What is boolean strategy?
What happens if we override only equals?
How define set in java?
What is the function of http?