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 are the different tags provided in jstl?
What is garbage collector?
How are java objects passed to a method and what are native methods?
Is singleton a bad practice?
Why hashset is used in java?
Does a class inherit the constructors of its superclass in java programming?
What is the function of http?
What is size_t?
Which one of the following suits the description of a string better: derived or primitive?
What does you mean in math?
What is a java applet? What is an interface?
what is deadlock? : Java thread
What is Java Reflection API? Why it’s so important to have?
What are the kinds of polymorphism?
Can a class with private constructor be extended?