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

what is Hashmap & Hashtable wirh example?

5 Answers   CTS, Saksoft,


can java object be locked down for exclusive use by a given thread? : Java thread

0 Answers  


What is the use of optional ?

0 Answers  


How to transfer data from an Applet to Servlet ?

1 Answers  


What is an exception?

6 Answers  


what is object slice?

2 Answers   HTC, TCS,


What is an empirical question?

0 Answers  


What is clipping and repainting and what is the relation between them?

1 Answers  


How does a for loop work?

0 Answers  


Is java type safe?

0 Answers  


What is the purpose of garbage collection in java? When is it used?

0 Answers  


explain oops concepts with examples?

29 Answers   AbhiBus, Beeline, DELL, HCL, Satyam, TCS, VLS, Wipro,


Categories