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


Please Help Members By Posting Answers For Below Questions

Explain features of interfaces in java?

759


What is the exception hierarchy in java?

704


Which collection is best for sorting in java?

878


Do I need java on my pc?

714


What is anti pattern in java?

708


What is hashmap and map?

734


What is static in java?

762


What are the types of java?

781


What is the Concept of Encapsulation in OOPS

734


How does finally block differ from finalize() method?

798


What is the use of bufferedreader?

744


Name container classes in java programming?

792


What is a string what operation can be performed out with the help of a string?

731


Does java support multiple inheritances?

775


what are the high-level thread states? : Java thread

763