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
What is the difference between keyword and identifier?
Is hashmap thread safe?
What is remote method invocation (rmi)?
If an application has multiple classes in it, is it okay to have a main method in more than one class?
What are the super most classes for all the streams?
What are scriptlets?
Name container classes in java programming?
What is the difference between jdk and jre?
What are java annotations?
Can we serialize static variables in java?
What is the common usage of serialization? What exceptions occur during serialization?
What is default locale java?
What does the append?
How can you set an applet’s height and width as a percentage?
What do you mean by Hash Map and Hash Table?