how cani read a command line argument?(usingfile object).

Answers were Sorted based on User's Feedback



how cani read a command line argument?(usingfile object)...

Answer / narasimha

i getting you exactly. could you beclear with your question?

Is This Answer Correct ?    0 Yes 0 No

how cani read a command line argument?(usingfile object)...

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

how cani read a command line argument?(usingfile object)...

Answer / ravikiran

new InputStreamReader(System.in);

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

How many boolean functions are there?

0 Answers  


What classes can be used to store arbitrary number of objects ?

1 Answers  


What does  mean in regex?

0 Answers  


What is ++ a in java?

0 Answers  


In what ways you can handle exception ?

3 Answers  






What is a method in java?

0 Answers  


Explain method overloading?

0 Answers  


How can we make sure main() is the last thread to finish in java program?

0 Answers  


What is the purpose of stub and skeleton?

0 Answers  


What is the main difference between java platform and other platforms?

0 Answers  


How many types of the indexof method are there for strings?

0 Answers  


What does this () mean in java?

0 Answers  


Categories