0

How to differentiate between global and local variable?

I know how we do that, but would just like to know the points I could write. Thanks!

6th Apr 2017, 4:10 AM
Varun
Varun - avatar
2 ответов
+ 4
global variable are defined just after class and local are defined in function,method and constructors//simplest way to identify.
6th Apr 2017, 7:22 AM
Saumya
Saumya - avatar
6th Apr 2017, 10:12 AM
Shamima Yasmin
Shamima Yasmin - avatar