Skip to main content

Java Variables

Variables are the values that stores data in it and you can use it easily

variables can be in lots of types

the basics one are

int -> this data type is for storing the integer values
long -> Can store integer more than int
float -> Can store decimal point number
double -> Bigger float
char -> Store single character ex: a$0
boolean -> Store only true or false
String -> Store a arrays of characters ex:  This is String LEARN MORE