0
Why String can accept all data type ????
3 Antworten
+ 10
"11" is a string literal.
11 is an integer.
They are different.
0
@luka it accepts all data types if we dont forget to add " ".
string s = " 11 " ; //any objections ?
0
Coz it's possible to convert any data to string