Data Type

A rule describing what kind of value something can hold and what operations it supports.

What is Data Type in Java?

Data Type — A rule describing what kind of value something can hold and what operations it supports.

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

Level: Novice · More Java terms at this level

Updated

In other subjects