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 an association?
What are the methods available in a class?
Name few "optional" classes introduced with java 8 ?
What is the symbol for space?
How do you escape json?
What are methods in java?
You can create a string object as string str = “abc”; why cant a button object be created as button bt = “abc”;? Explain
How do you declare an empty string?
What is difference between stringbuffer and string?
Can java program run without jre?
What is finalize method?
What is string length in java?
Is java programming easy?
Is null in java?
Why java is object oriented?