Read data from console and print in one file. That would be
in C:\temp ? Thanks, Bose
Answer Posted / avi
@Pushpa...
If u r reading console data from the method other than main() then u need to use Console class and scanner.
And use StringBuffer in place of String as when u r using '+' operator it creates new string object. So use StringBuffer and use API append("").
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Why webdriver is an interface?
Explain about fail fast iterators in java?
Is singleton set an interval?
How does split work in java?
How to connect to a remote database using Applet?
How many threads can I run java?
What is java lang object?
Can you inherit a constructor java?
Why is method overloading not possible by changing the return type in java?
How to use arraylist in java netbeans?
What is the main method java?
what is heap memory?
Variable of the boolean type is automatically initialized as?
Define linked list and its features with signature?
Explain the concept of hashtables?