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 an abstract class and what is it’s purpose?
What are streams in java 8?
What is java reflection?
How do listeners work?
How many digits is int32?
Explain the difference between transient and volatile in java?
java program with complete 4 oops concepts implemented example
Explain Basics of OOP Language in java
Define a java class.
What is complexity and its types?
What is meant by collection in java?
What is the difference between JDK and JVM?
What is the purpose of assert keyword used in jdk1.4.x?
Which is better singleton or static class?
How can we access some class in another class in java?