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
Write a program to print fibonacci series up to count 10.
What is ctrl m character?
What is string and its types?
Why there are some null interface in java? What does it mean?
Can a class be defined inside an interface?
Why declare Main() method as a static in java ?
What is a control variable example?
What is null object in java?
What is constructor chaining in java?
Explain different ways of creating a thread. Which one would you prefer and why?
Why java is said to be pass-by-value ?
Can we have 2 main methods in java class?
What is int argc char * argv?
How many bits is a float?
Why do we create threads in java?