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 uses of Hash Code?
What is the difference between comparison done by equals method and == operator?
Can there be an abstract class with no abstract methods in it?
class A { private int i; } class B extends A { private int i; } if I create an object of B class what will be the memory of that object.
Is math class static in java?
What is the difference between synchronized and synchronized block?
What does the three dot emoji mean?
What is the protocol is used in type4 driver?
What is the difference between exception and error in java?
How do you use compareto method?
what is use of marker interface? give me good example?
What are jee technologies?