how to print output with out using sop statements
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
How do you escape json?
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??
what is the difference between HashMap and Hashtable
17 Answers Value Labs, Virtusa,
Can an abstract class have a constructor?
How to overcome the exception object reference not set to an instance of object?
make a method which any number and any type of argument and print sum of that arguments.....
How many functional interfaces does java 8 have?
What is data type modifier?
Describe how to implement singleton design pattern in struts.
What is structure of java heap? What is perm gen space in heap?
Difference between object and reference?
How do I get 64 bit java?