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

Differece between class and generic class?

0 Answers   Tech Mahindra,


What is assembly used for?

0 Answers  


What is the file extension for java?

0 Answers  


When we can access the static data member without creating the object what is the need of the object in java.

5 Answers   Airhub, ssinformatics,


What is the relationship between a method?s throws clause and the exceptions that can be thrown during the method?s execution?

2 Answers  






What are measurable parameters?

0 Answers  


how can we import the user defined package without classpath?

1 Answers   CSC, Infosys,


can I implement my own start() method? : Java thread

0 Answers  


Define locale.

0 Answers  


When should the method invokelater() be used?

0 Answers  


What are the types of statement? explain

1 Answers   SysBiz,


What are the different ways to handle exceptions?

0 Answers  


Categories