Java Variables

In Java,a variable is a container that holds data during the execution of a program.

Variables are fundamental building blocks of any Java program as they allow developers to work with data dynamically

 Variables are nothing but peace of memory, which is capable of holding data or value

Every variable in Java has a specific type that defines what kind of data it can store (e.g., integer, float, string)

Java variables are categorized into three types Local Variables,Instance Variables,Static Variables