Discussion :: Command Line Arguments - True / False Questions (Q.No.2)
Even if integer/float arguments are supplied at command prompt they are treated as strings.
Answer: Option A
No answer description available for this question.
|Nikhil said: (Feb 18, 2011)|
|Can anyone provide example for this expression?|
|Guruprasath said: (Sep 20, 2011)|
|This is a wrong answer.. In java only the arguments will be treated as strings....|
|Kaarthick said: (Aug 19, 2015)|
|The answer is False. Only in Java and C#, arguments are treated as strings.|
|Revathi said: (Jan 10, 2016)|
|I need explanation to this question.|
|Gayathry said: (May 18, 2016)|
|Answer should be false.|
|Deepak said: (Jul 2, 2016)|
|According to me, the given answer is right.|
|Prashant said: (Dec 8, 2016)|
|I Thing answer. Should be false.
Only in java, all in the form of String.
|Ramyadeepika said: (Sep 7, 2017)|
|Please give us Correct explanation.|
|Avinash said: (Sep 9, 2017)|
|The answer is False, if the arguments are considered as strings by default then there is no question of typecasting in the program.|
|Aanandita said: (Sep 23, 2017)|
|They are treated as strings until they are type casted using atof or atoi functions. So the answer in my opinion is true.|
Post your comments here:
Email : (optional)
» Your comments will be displayed only after manual approval.