how to print output with out using sop statements

Answer Posted / praveen kumar singh

Way 1
if(System.out.append("testing")!= null);

way 2
if(System.out.format("%s","testing" )!= null);

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?

971


What is a war file?

780


What are adapter classes?

807


what invokes a threads run() method? : Java thread

789


What restrictions are placed on method overriding in java programming?

783


What is the default value of byte datatype in java?

711


What does super keyword do?

799


What is a subsequence of a string?

828


Can a singleton class be inherited?

744


Does isempty check for null?

791


Can array grow dynamically in java?

749


What does java se mean?

792


Is java util regex pattern thread safe?

768


Do I need to import java.lang package any time? Why?

1073


What is the difference between class & structure?

822