Java Basic

Working with Java Data types

views

09:42
Now we know what is meant by a variable and we have also understood what is the scope of the various variables. We have also had a brief introduction to the data types in Java. Let us now go in details of how to declare a variable and assign values to the same. Understanding variables and how to use them is very fundamental to Java programming.