I have heard the following statement:
We can say class is a datatype or a datatype is one type of class.
Can anyone explain to me wh
A class is a type of a data type. It allows you to declare a variable along with its datatype. E.g.:
class big { public int a; ....... ...... }
Here, int is a data type and big is the class name.
int
big
Hope you got little idea about it!