type your answer here
type variable {[optional array size]} {= optional initializer};
Constant variables refers to those variables whose values cannot be changed. These variables should be initialized along with their declaration. Attempt to change the value of a constant variable will generate compile error. The syntax for declaring a constant variable is:const data-type variableName = value;
The syntax is: int a[10]; for (int i=0; i<10; ++i) a[i]=i;
you have to give a statement in the following syntax datatype variable;
Declaration is a promise: 'I will define (or has defined) this variable/function somewhere else'.
int x[]={0,1,2,3,4,5,6,7,8,9};
There's no global variables in Java.
I'll give you an example: char *s;
BOB=$JOE or BOB=${JOE}
When declaring a variable, don't use short and cryptic names such as 'x'. Use descriptive names for the variable, such as 'accumulator'. Also, don't declare more than one variable on the same line. You can, but it will help take some errors away from your code.
ordanry variable store one value at a time. arrays are used for storing more than one value at a time in a single variable name ordanry variable doesnt have subscript. array must have subscript syntax for ord. variable Datatype v1,v2...... syntax for array variable Datatype v1[n1],v2[n2].....
No, unless you do not use it at all.