DATATYPE:
- byte --> 1byte
- short --> 2byte
- int --> 4byte
- long --> 8byte
- float --> 4byte
- double--> 8byte
- char()--> can store single letter in a single quotes('A')
- boolean--> True or False
Variable Declaration:
- int mark = 100;
- Boolean variable = true;
public class Home {
static String name = "Ragul"; // class information
Static int age =25 // class information
}
static refferes to class specific Information.


Top comments (0)