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

What is the main functionality of the remote reference layer?

0 Answers  


Is void a return type?

0 Answers  


What will happen to the exception object after exception handling?

0 Answers  


What is a class component?

0 Answers  


How does varargs work in java?

0 Answers  


What are the elements of java?

0 Answers  


What is meant by anonymous class?

0 Answers  


What is the purpose of the file class in java programming?

0 Answers  


Can we execute a program without main?

0 Answers  


explain System.out.println()

12 Answers   CTS,


Define package in Java.

1 Answers  


Can any one say how will sort map objects in java?

2 Answers   TCS,


Categories