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 Basics of OOP Language in java

592


Define an applet in java?

632


Tell some latest versions in JAVA related areas?

560


What is difference between call by value and call by reference?

503


What is ‘is-a ‘ relationship in java?

590






What is meant by local variable and instance variable?

600


Can we convert integer to string in java?

598


What is the use of StringTokenizer class?

611


What is the use of singleton?

514


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

532


What is a module function?

557


What are the 6 mandatory procedures for iso 9001?

531


What is the properties class in java programming?

546


Can an interface have a constructor?

515


How do you sort a list in java?

582