+ 2

In JAVA why an array of strings is to be passed as parameters inmain ()...but in C nd c++ we didnt.......

9th Jun 2017, 11:31 AM
Anmol Arora
Anmol Arora - avatar
8 Antworten
+ 1
it means that for the command prompt or the console every input is a string
9th Jun 2017, 1:02 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
+ 4
It's a different programming language!
9th Jun 2017, 11:32 AM
Iwan
Iwan - avatar
+ 3
ohhh yeahhh..... tx dude....
9th Jun 2017, 1:04 PM
Anmol Arora
Anmol Arora - avatar
+ 2
thts fine but whats the reason....
9th Jun 2017, 11:40 AM
Anmol Arora
Anmol Arora - avatar
+ 2
plz re read the qn.....there z an edit
9th Jun 2017, 12:45 PM
Anmol Arora
Anmol Arora - avatar
+ 2
means....?
9th Jun 2017, 1:02 PM
Anmol Arora
Anmol Arora - avatar
0
usually converting from string to int is easy in java..
9th Jun 2017, 12:42 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
0
it is because any input pass through the console is a string
9th Jun 2017, 1:01 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar