About Data types are:

// define class
class Dt
{
    //define main from where the program executes begin
    public static void main(String args[])
    {
        data type
        --------------------
are the means to identify the type of data and associated operations of handling it.

2 types of dt
**************
1 Primitive

Integer

1 byte
2 short
3 int
4 long

floating

5 float
6 double

7 char
8 boolean

2 Reference type

1 class
2 arrays
3 interface
4 enum
5 anotation

}


}

Post a Comment

Previous Post Next Post