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 |
Explain the Propertie sof class?
Explain 5 features introduced in jdk 1.7?
How hashset works internally in java?
what is the use/perpose of having a method antive?
How are commas used in the initialization and iteration parts of a for statement?
Have you ever used hashtable and dictionary?
Explain numeric promotion?
What are the types of strings?
Does java linked list allow duplicates?
Write program to print Hello World and print each character address in that string and print how many times each character is in that string? Ex: H: 0 & 1 e:1 & 1 l :2,3,8 & 3 o:4,6 & 2 w:5 & 1 r: 7 & 1 d 9 & 1
How variables are declared?
how to create multithreaded program? Explain different ways of using thread? : Java thread