# Return Value

*noun*

say it: **“rih-TURN VAL-yoo”** **/rɪˈtɜrn ˈvælju/**

The result a method sends back to the code that called it, using the return keyword.

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

**Return Value** — The result a method sends back to its caller.

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

## In a sentence

- “The **return value** of calculateTax is the tax amount, which I add to the total.”

Level: Apprentice · [More Java terms at this level](https://www.ask-codey.com/glossary?category=java&level=2)

Updated: October 26, 2026

## In other subjects

- [Return Value in C#](https://www.ask-codey.com/glossary/return-value-c-sharp)
- [Return Value in JavaScript](https://www.ask-codey.com/glossary/return-value-javascript-2)
- [Return Value in Python](https://www.ask-codey.com/glossary/return-value)

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