
Let’s start this topic by understanding the word data type.
What is Data Type?
Data is information and type means what kind of information simply Data Type means some kind of particular information or data.
The question arrive here that how many kinds of Data Types in java?
There are two kinds of Data Types in java.
- Primitive Data Types
- Non-Primitive Data Types
What is Abstract Data Type?
Abstract Data Type is a model of data type in which we know the properties and operation of the data type that can performed on it but we don’t know how to implement it.
Example; Like I have a integer number -3,-2,-1,0,1,2,3
the properties of this number is that it’s a integer number and it is positive and negative.And the operations this number can performed are subtraction, multiplication,addition and subtraction.

Here are some of the Abstract Data Types.
- List
- Stack
- Queue

- LIST
List is a collection of data types in which you can performed some operations like insert,add,delete and many others.
2. STACK
Let’s understand this by a real world example like you have book shelf you put your book’s in a random position.Now you want to take a book from shelf you can see that the book which you put in the last is on the top position. The conclusion of the Stack is like LAST IN FIRST OUT.
3. QUEUE
Queue is the reverse of the stack.
Let’s understand this by a real world example if you are going to the cinema and you reached their soon and you got the tickets on the front seat. So I sum up this whole theory in one point FIRST IN FIRST OUT.