how cani read a command line argument?(usingfile object).
Answers were Sorted based on User's Feedback
Answer / 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 |
How many boolean functions are there?
What classes can be used to store arbitrary number of objects ?
What does mean in regex?
What is ++ a in java?
In what ways you can handle exception ?
What is a method in java?
Explain method overloading?
How can we make sure main() is the last thread to finish in java program?
What is the purpose of stub and skeleton?
What is the main difference between java platform and other platforms?
How many types of the indexof method are there for strings?
What does this () mean in java?