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).

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an association?

1035


What are the methods available in a class?

1123


Name few "optional" classes introduced with java 8 ?

1182


What is the symbol for space?

1040


How do you escape json?

1037


What are methods in java?

1032


You can create a string object as string str = “abc”; why cant a button object be created as button bt = “abc”;? Explain

1048


How do you declare an empty string?

1109


What is difference between stringbuffer and string?

1006


Can java program run without jre?

1059


What is finalize method?

1193


What is string length in java?

995


Is java programming easy?

1040


Is null in java?

1074


Why java is object oriented?

1077