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

Answer Posted / ravikiran

new InputStreamReader(System.in);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is 0 true or is 1 true?

514


What is the difference between choice and list?

588


Can a main method be overloaded?

567


What are methods in java?

536


Does java list allow null?

538






Is void a return type?

548


What is a stack class in java ?

609


what is the purpose of using rmisecuritymanager in rmi?

560


Can you access non static variable in static context?

555


What is method overloading with type promotion?

577


What is nested loop? What is dangling else condition in it?

572


When will we prefer to use set and list in java and why?

546


What is a hashmap used for?

640


How to sort an unsorted array in java?

608


What is generic type?

568