# Return Type

The type of value a method promises to return.

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

**Return Type** — The type of value a method promises to return.

```java
class OrderCalculator {
    int total(int price, int quantity) {
        return price * quantity;
    }
}
```

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

Updated: September 27, 2026

## In other subjects

- [Return Type in C#](https://www.ask-codey.com/glossary/return-type-c-sharp)

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