what is datatype?
Defines what type of data your variable will hold. Means depending upon the type of data, datatype is associated with the variable.
Example:
If you want to store whether user is login or not, use Boolean.
Primitive datatypes?
these datatypes are already defined by the java. these are as follow:
integers:
Byte
short
int
long
floating points:
Float
double
Char
Boolean
Abstract Datatypes ADT?
classes are the abstract datatypes, therefore the datatypes or collection that classes return are abstract e.g., Queues, Stacks etc.