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
How to sort numbers in java without array?
How many ways can we create the string object?
What is sizeof () operator?
If you do not want your class to be inherited by any other class. What would you do?
What is an example of a constant variable?
What is object-oriented paradigm?
What is defined as false sharing in the context of multithreading?
What is map and hashmap in java?
What environment variables do I need to set on my machine in order to be able to run java programs?
What are the characteristics of Final,Finally and Finalize keywords.
Difference between a class and an object?
What is the size of a string in java?
Differece between class and generic class?
Why charat is used in java?
What are the advantages of user defined functions?