answersLogoWhite

0

Storing global data.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

Why there are no global variables in java?

Global variables are globally accessible. Java does not support globally accessible variables due to following reasons:The global variables breaks the referential transparencyGlobal variables creates collisions in namespac


When is better to use global variables rather than utilizing local variables in a program?

In my opinion it is rarely a good idea to use global variables, unless you need to refer to them across modules, or their values need to be keep for a long period of program execution. Local variables should always be used when their lifetime is short, usually only in the module they are declared in. Global variables lifetime will be for the length of the program execution.


Do threads share global variables?

No, threads do not share global variables by default. Each thread has its own copy of global variables, which means changes made to global variables in one thread do not affect the values in other threads.


What is the other name of global variables?

Another name of global variable is "EXTERNAL VARIABLES".


What are global variable?

Variables that are declared globally outside every program are called global variables.


Which operator is used 2 access ahidden global variables?

To access a hidden global variable, use the scope resolution operator ::


What variables can affect the speed of a runner?

The most logical variables are probably stance and how good you warmup


What are the differences between global variables and local variables in C plus plus?

Global variables can be seen in all blocks of your program, when local variables are visible only within the block where it's declared.


Is global variables are stored in registers?

They is not.


Can global variables be called preprocessors?

No.


What are the disadvantages of variables?

The only disadvantage of a global variable is that you cannot directly encapsulate them. Other than that, there is no real disadvantage of global variables.


What is the syntax of global variable in java?

There's no global variables in Java.