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 |
What is the main functionality of the remote reference layer?
Is void a return type?
What will happen to the exception object after exception handling?
What is a class component?
How does varargs work in java?
What are the elements of java?
What is meant by anonymous class?
What is the purpose of the file class in java programming?
Can we execute a program without main?
explain System.out.println()
Define package in Java.
Can any one say how will sort map objects in java?