+ 1

Can I put the int, string and double outside of the INT MAIN ?

11th Nov 2016, 3:47 AM
Joemyr Ayen Ramos
Joemyr Ayen Ramos - avatar
2 ответов
+ 3
yup...you can. the scope of those variables becomes global.
11th Nov 2016, 5:02 AM
kamal joshi
kamal joshi - avatar
+ 1
Then they become class level variables, Yea.
11th Nov 2016, 8:24 AM
Souna
Souna - avatar