how to print output with out using sop statements

Answers were Sorted based on User's Feedback



how to print output with out using sop statements..

Answer / rajsekar

Create an object for the PrintWriter Class then call the
write() method...in that write method we can pass any type
of strings or etc...

Is This Answer Correct ?    6 Yes 2 No

how to print output with out using sop statements..

Answer / 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

how to print output with out using sop statements..

Answer / manju

we can print by using Log.debug atatements

Is This Answer Correct ?    1 Yes 0 No

how to print output with out using sop statements..

Answer / srinivas

there r 2 ways in which we can print stmts with out using
sops
1. using static
2. using anonimus inner classes

Is This Answer Correct ?    7 Yes 7 No

how to print output with out using sop statements..

Answer / f

there r 2 ways in which we can print stmts with out using
sops
1. using static
2. using anonimus inner classes

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

How do you escape json?

0 Answers  


what is polymorhism what is inheritance? what is Abstract n Interface? what if two interfaces have same method and a concrete class is implementing both the interfaces. Will there be a compilation error? What are mutable and immutable classes? How can u make a class mutable? when will u use dem ...explain with example? what is overriding and overloading? what is garbage collection? what is Thread? how do dey communicate? what are the different ways of implementing ? have u used any messaging technologies? what is synchronization? what are some additions in java 1.5? what are generics? whst is advanced for loop? what is finally block? can u have a try in finally? yes!! can u have a finally in finally? how do you write junits? when is a object eligible for garbage collection?explain? a = null and b has ref to a will b be eligible to be garbage collected? sql questions like diff joins? how do dey work? exception handling? what is marker interface? what is the need??

0 Answers   JPMorgan Chase,


what is the difference between HashMap and Hashtable

17 Answers   Value Labs, Virtusa,


Can an abstract class have a constructor?

1 Answers   RBS, Wipro,


How to overcome the exception object reference not set to an instance of object?

0 Answers   Wipro,






make a method which any number and any type of argument and print sum of that arguments.....

0 Answers  


How many functional interfaces does java 8 have?

0 Answers  


What is data type modifier?

0 Answers  


Describe how to implement singleton design pattern in struts.

0 Answers  


What is structure of java heap? What is perm gen space in heap?

0 Answers  


Difference between object and reference?

0 Answers  


How do I get 64 bit java?

0 Answers  


Categories