Java – Variables and Data Types
In this, java variables and data types tutorial, we learn how to declare a variable in java and what is data types in java. Let’s start with an example to declare variable and data type. Example: Addition of two numbers. In the above example you need to look at the first line in main() method…