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

Why char array is preferred over string for storing password?

841


What is constant in programming?

761


Is Java a dying language?

813


Write a function for palindrome and factorial and explain?

863


What are the changes in java.io in java 8 ?

760


How many characters is 2 bytes?

745


What is an array length?

693


What is overriding in java?

758


What do you understand by looping in java? Explain the different types of loops.

802


What do you understand by final value?

804


What flag up means?

799


What exceptions occur during serialization?

853


What is the largest data type in java?

736


What does string mean in java?

830


What is operator overloading. Is it is supported in java?

730