how cani read a command line argument?(usingfile object).
Answer Posted / subrahmanyam
You can get Command line arguments as Strings only. You
have to take file name as String and create a FILE object
with filename you read .
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is starvation?
Explain the scope of a variable.
Explain java coding standards for constants?
How do you read a char in java?
What does provide mean construction?
What sorting algorithm does javascript use?
Does it matter in what order catch statements for filenotfoundexception and ioexception are written?
What is a nested list?
What is java reflection?
What is the full meaning of java?
Can we create our own daemon thread?
What do you understand by final value?
What is meant by anonymous class?
What one should take care of, while serializing the object?
Why do we need data structure in java?