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 object english?
What is difference between array and vector?
What are meta-annotations?
Explain different ways of creating a thread. Which one would you prefer and why?
What is the difference between length and length() method in java?
What happens if an exception is throws from an object's constructor?
What is the concept of multithreading?
What are invisible components?.
which methods consisting of the serilizable interface?
Is c better than java?
what is singleton class in java?
How do you ensure that n threads can access n resources without deadlock?