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
Difference between linkedlist and arraylist.
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? : Java thread
Is singleton class thread safe?
How can you avoid serialization in child class if the base class is implementing the serializable interface?
What do you understand by java virtual machine?
Difference between predicate, supplier and consumer ?
Can classes declared using the abstract keyword cab be instantiated?
What is the += operator called?
Explain about anonymous inner classes in java?
What is the difference between an array and an array list?
what is encapsulation in java? Explain
What is the use of isempty in java?
Can we declare an interface as final?
How is string stored in java?
What is the purpose of the runtime class in java programming?