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 are the characteristics of Final,Finally and Finalize keywords.
what are three ways in which a thread can enter the waiting state? Or what are different ways in which a thread can enter the waiting state? : Java thread
What is byte data type?
When we r go to abstract class and when we go to Interface? i have confusion this question while in interview plz clarify
How to add and remove nodes in Jtree?
When should a function throw an exception?
0 Answers Thomson Reuters, Virtusa,
What are the different types of inheritance in java?
How do you generate random numbers in java?
What data structures are used to perform recursion?
0 Answers Akamai Technologies,
What is the difference between the ">>" and " >>>" operators in java?
What are the advantages and disadvantages of object cloning?
What happens when I use / and % with a negative numerator?