java
DataType In Java Language
intiger (int) => int store a number value
String (String) => String store a group of charater
float (float) => float store a point value
charater (char) => char store a single charater
boolean (boolean) => boolean store true or false only
//********************************************************
Syntax:- dataType variableName = value ;
//********************************************************
Example :-
dataType variableName = value ;
int name = 23 ;
String name = "ankit";
float name = 23.5f;
char name = 'a';
boolean name = true or false;
simple program to understand the variables in java
if you have any doubts please let me know