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 do you mean by classloader?
How do you compare two strings lexicographically?
What are the wrapped, classes?
what is an objects lock and which objects have locks? : Java thread
What is java oops?
How does split work in java?
What are the types of inner classes (non-static nested class) used in java?
What is a data structure java?
Is hashmap thread safe?
What is outofmemoryerror in java?
Can we declare an interface as final?
What environment variables do I need to set on my machine in order to be able to run java programs?
What is the difference between yielding and sleeping in java programming?
What is get () in java?
What are the differences between getting and load method?