VARIABLES

In Java, variables are used to store data that can be manipulated and retrieved later in a program. A variable has a name, a type, and a value. The type of a variable determines what kind of data it can hold (e.g., integers, floating-point numbers, characters, etc.), while the name is used to reference the variable within your code.

SYNATX TO DECLARE VARIABLES -

String name = " adi ";
int age = 19;