Hi, programmers!
there's global and local variables ? I've heard about common variables....what is it ?
Does anybody know? if so - please - share your knowledge!
Thanks in advance !
vedro-compota 33 Posting Whiz
Recommended Answers
Jump to PostHi there vedro-compota,
Variables exist within the scope of their creation.
Make a variable within a class, and that's its scope.
Make a variable within a method, and that's its scope.
So make it within the program, but outside of any one class.
If you make it in the …
Jump to PostVedro - lets put it this way: You are on the beginning of your programming path, if Iam not mistaking. So, if you know what is local and global variable, will do good for the next a couple of years. Belive me. I`m coding for a 2,5 years and havent …
All 7 Replies
Mitja Bonca 557 Nearly a Posting Maven
vedro-compota commented: ++++++++ +1
vedro-compota 33 Posting Whiz
jugosoft 25 Junior Poster in Training
vedro-compota commented: +++++++ +1
Mitja Bonca 557 Nearly a Posting Maven
vedro-compota 33 Posting Whiz
Mitja Bonca 557 Nearly a Posting Maven
vedro-compota 33 Posting Whiz
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.