Variables in Java

The data which given as a variable should store as a temporarily in the memory.

Variable declaration

1.Variable Name

2.Data type

3. Value

Role for Creating Variables

1.The name cannot start using Numbers.

2.Space Cannot be given within a name.

3.Any Syntax @ cannot given.

4.Pre-defined keywords cannot use.

 

 

 

 

 

Leave a Comment

Your email address will not be published. Required fields are marked *

five × four =