VARIABLES IN JAVA
Variable:
It is the name given to a block of memory to store the data or value.
How to create a variable:-
There are 3 stapes to create a variable
1)Declaration:-
It is a process of declaring a block of memory with the help of data type.
2)Initialization:-
It is a process of initialising the value or data inside the declared block.Declaration + Initialization:-
3)Utilization:-
It is a process of utilizing the initialize value present in the declare block through variable.
0 Comments