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 is string buffer better than string ?
Which software is used for java programming?
Explain the JDB in depth & command line.
What is an inner class in java?
Explain the difference between runnable and callable interface in java?
What is the use of :: in java?
Can a string be null?
What is a buffer in java?
What is the buffer limit?
What is treemap in java?
Will the jvm load the package twice at runtime?
Is it possible to override private or static method in java?
Can you access non static variable in static context?
What is the purpose of stub and skeleton?
What are identifiers in java?