How to print a statement without using semicolan in java
Answer Posted / srinivaskumar.nimmana
Write like this to print...
if(system.out.printf("hello sree")==null)
here we r using printf instead of println()
| Is This Answer Correct ? | 25 Yes | 9 No |
Post New Answer View All Answers
What is thread safe in java?
How do you invoke a method?
What are methods of a class?
Is call by reference possible in java?
How many bits is a char?
Can a method be overloaded based on different return type but same argument type?
How do I enable java in safari?
what methods would you overwrite in java.lang.object class?
What is a substitution variable?
In case of inheritance what is the execution order of constructor and destructor?
Can we have any code between try and finally blocks?
Why is static used?
What does nextint () do in java?
Can a vector contain heterogenous objects?
Define an enumeration?