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

Is java util regex pattern thread safe?

511


How do you define a singleton class?

497


Is it possible to use string in the switch case?

552


How large is a boolean?

549


What is the full name of java?

561






What is an argument java?

527


What will happen to the exception object after exception handling?

568


What is local declaration?

485


What do you understand by Header linked List?

588


What is difference overloading and overriding?

577


How arrays are stored in memory in java?

506


what is a working thread? : Java thread

544


What are static blocks and static initalizers in java ?

580


can used Protected Class outside Function.?

608


Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.

524