JAVA SCRIPT VARIABLE
JAVA SCRIPT VARIABLE:- IMP
variable is name of location where user can store all type of data element.
ex.
a=10
b=10.5
c=Ramesh
( a,b,c called variables)
TYPES OF VARIABLES:-
there are two types of variables.
1. variant variables
2. non variant variables
1) VARIANT VARIABLES:-
10-intezer (any type of number)
10.5-float ( Decemal word)
Nagpur-string (any type of mssg)
In programming Language variable is representing there type is called variant Variable.
ex. int a;
float b;
2) N0N VARIANT:-
non variant variable is depend on data value.
ex. a=10
b=10.5
c=nagpur
Comments
Post a Comment