How to print a statement without using semicolan in java
Answer Posted / nagireddy
BufferedWriter bw=new BufferedWriter(new PrintWriter(System.out));
//Scanner scan=new Scanner((Readable) System.out);
bw.write("nagi");
bw.close();
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is difference between pointer and reference?
What is meant by bytecode?
How many return statement are allowed in a function?
What is finalize()? Is finalize() similar to a destructor?
Why do I need to declare the type of a variable in java?
When super keyword is used?
Difference between method overloading and overriding.
How we can execute any code even before main method?
hr interview how many minutes asking question
Write a factorial program using recursion in java?
What is entry set in java?
Variable of the boolean type is automatically initialized as?
What happens if I remove static from main method?
What is a final class ?
What is return code?