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 do you understand by synchronization?
How do you check if an arraylist is not empty?
Explain about automatic type conversion in java?
What is gui programming?
Discuss about garbage collector in Java.
Differentiate between nested and inner class in java.
Can we force the garbage collection to run?
State two differences between C and Java.
What does yield method of the thread class do?
How does system arraycopy work in java?
What is the difference between iterator and list iterator?
What are untrusted applets?
When do I need to use reflection feature in java?
Is null keyword in java?
What is difference between protected and private?