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 Portal(web based online portal)?
i need to know the site which compiles and run the java program completely in online... thank you for your reply in advance
Can we start a thread twice in java?
take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).
Explain hashset and its features?
What is unicode in java?
Describe the various concepts related to object oriented programming (oop).
What is visibility mode?
Does variable declaration allocate memory?
Explain JPA in Java.
What is JFC?
When does a class need a virtual destructor?