# Primitive Type

One of Java's basic value types, such as int, double, char, or boolean.

## What is **Primitive Type** in Java?

**Primitive Type** — One of Java's basic value types, such as int, double, char, or boolean.

```java
class Order {
    int itemCount = 3;
    double price = 4.50;
    char size = 'M';
    boolean paid = true;
}
```

Level: Novice · [More Java terms at this level](https://www.ask-codey.com/glossary/subjects/java/novice)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/primitive-type
