How to print a statement without using semicolan in java
Answer Posted / abhishek sahu
class PrintDemo
{
if(System.out.println("Hello"))
{
}
}
| Is This Answer Correct ? | 2 Yes | 12 No |
Post New Answer View All Answers
What is the string function?
Can an unreferenced object be referenced again?
How many types of interfaces are there?
What if I write static public void instead of public static void in java?
When is the garbage collection used in Java?
What Is Composition?
How many types of operators are there?
What is the final access modifier in java?
What are recursive functions? Give some examples?
What is double in java?
What is an association?
Explain the importance of finally over return statement?
What is a get method?
Why spring singleton is not thread safe?
What is a bubble sort in java?