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
How do you write a good declaration?
What is a numeric string?
What is a blocking method in Java?
Explain the difference between the public, private, final, protected, and default modifiers?
Can you inherit from an abstract class java?
Suppose if we have variable ' I ' in run method, if I can create one or more thread each thread will occupy a separate copy or same variable will be shared?
Is array primitive data type in java?
Difference between Preemptive scheduling vs. Time slicing?
Can we serialize arraylist in java?
When is the finalize() called?
Explain oops concepts in detail?
Why we used vector class?
Can we override the private methods?
Write code to implement bubble sort in java?
What is difference between word and integer?