Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Diff between C++ and java?

9 Answers   TCS,


we know that every java prog must follows OOPS Principles. Anybody can answer, HOW THE FOLLOWING PROGRAM FOLLOWS OOPS CONCEPTS i.e, Inheritance,Polymarphism,Encapsulation? class a{ public static void main(String args[]){ System.out.println("Hello World"); } }

3 Answers  


If your team member writes code with lots of static variables and static methods, will it cause any side effects?

3 Answers   KPIT,


Define package in Java.

1 Answers  


Which one will take more memory: an int or integer?

0 Answers  


What are the advantages of java over cpp?

0 Answers  


What is the difference(or similarity if there are some) between object and a variable?

4 Answers   ME,


In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?

0 Answers  


What are the different data types in java?

0 Answers  


What happens to a static var that is defined within a method of a class?

0 Answers  


What is the immediate superclass of the Dialog class?

2 Answers  


What is the difference between hashset and treeset in java?

0 Answers  


Categories