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

What is difference between static and abstract class?

524


What do you mean by ternary operator in java?

562


v-model life cycle

1624


How dead lock situation occurs in java and how you can identify it?

550


what is the constructor and how many types of constructors are used in java?

539






Explain what is Marker interface?

623


What is java util hashmap?

524


What is the difference between comparison done by equals method and == operator?

576


What is included in core java?

588


Does java runtime require a license?

580


What are the types of methods in java?

584


Can a class have multiple constructors?

539


What are different types of expressions?

556


How do you check if a number is a perfect square?

518


how does the run() method in runnable work? : Java thread

518