Java Variables | Variable in Java programming

variables: syntax: modifers/keywords(optional) datatype variableNameExamplePractice=constantValue; Ex: //integral datatype variables(0) byte one=127; short two=128; int three=900; long four=797987982l; //float(0.0) float five=12.78877f; double six=12.77868768763; //charecters (emptyspac ) char seven=’c’; //boolean (false) boolean eight=true; //String non datatype java.lang package class String nine=”HI”;//null //variables Read More …